summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/npm-packlist/node_modules/ignore-walk/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/npm-packlist/node_modules/ignore-walk/index.js')
-rw-r--r--deps/npm/node_modules/npm-packlist/node_modules/ignore-walk/index.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/deps/npm/node_modules/npm-packlist/node_modules/ignore-walk/index.js b/deps/npm/node_modules/npm-packlist/node_modules/ignore-walk/index.js
index 22517fb0e6..abfd9ece57 100644
--- a/deps/npm/node_modules/npm-packlist/node_modules/ignore-walk/index.js
+++ b/deps/npm/node_modules/npm-packlist/node_modules/ignore-walk/index.js
@@ -100,8 +100,7 @@ class Walker extends EE {
.filter(line => !/^#|^$/.test(line.trim()))
.map(r => new Minimatch(r, mmopt))
- if (rules.length)
- this.ignoreRules[file] = rules
+ this.ignoreRules[file] = rules
then()
}