mirror of
https://github.com/actions/labeler
synced 2026-05-11 10:41:07 +02:00
build
This commit is contained in:
11
node_modules/@babel/traverse/lib/path/removal.js
generated
vendored
11
node_modules/@babel/traverse/lib/path/removal.js
generated
vendored
@@ -12,12 +12,18 @@ exports._assertUnremoved = _assertUnremoved;
|
||||
|
||||
var _removalHooks = require("./lib/removal-hooks");
|
||||
|
||||
var _index = require("./index");
|
||||
|
||||
function remove() {
|
||||
var _this$opts;
|
||||
|
||||
this._assertUnremoved();
|
||||
|
||||
this.resync();
|
||||
|
||||
this._removeFromScope();
|
||||
if (!((_this$opts = this.opts) == null ? void 0 : _this$opts.noScope)) {
|
||||
this._removeFromScope();
|
||||
}
|
||||
|
||||
if (this._callRemovalHooks()) {
|
||||
this._markRemoved();
|
||||
@@ -53,8 +59,7 @@ function _remove() {
|
||||
}
|
||||
|
||||
function _markRemoved() {
|
||||
this.shouldSkip = true;
|
||||
this.removed = true;
|
||||
this._traverseFlags |= _index.SHOULD_SKIP | _index.REMOVED;
|
||||
this.node = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user