1
0
mirror of https://github.com/actions/labeler synced 2026-05-11 10:41:07 +02:00
This commit is contained in:
David Kale
2020-09-08 13:25:36 -04:00
parent e4246d2b5b
commit 91fcbb0108
4227 changed files with 416837 additions and 457884 deletions

View File

@@ -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;
}