Skip to content

Commit 1ba7096

Browse files
committed
chore: define KEY_IGNORE first
1 parent f19a790 commit 1ba7096

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,10 @@ class Ignore {
395395
constructor ({
396396
ignorecase = true
397397
} = {}) {
398+
define(this, KEY_IGNORE, true)
399+
398400
this._rules = []
399401
this._ignorecase = ignorecase
400-
define(this, KEY_IGNORE, true)
401402
this._initCache()
402403
}
403404

0 commit comments

Comments
 (0)