@sphinx-software/manifestor
Advanced tools
+1
-1
| { | ||
| "name": "@sphinx-software/manifestor", | ||
| "version": "0.0.2", | ||
| "version": "0.0.3", | ||
| "description": "Sphinx Manifestor", | ||
@@ -5,0 +5,0 @@ "bin": { |
+1
-3
@@ -7,5 +7,3 @@ const recursive = require('recursive-readdir'); | ||
| async scan(directory, ignores = []) { | ||
| ignores.push(file => { | ||
| return !path.extname(file).match(/\.js$/); | ||
| }); | ||
| ignores.push((file, stats) => stats.isFile() && !path.extname(file).match(/\.js$/); | ||
@@ -12,0 +10,0 @@ return await recursive(directory, ignores); |
4626
-0.13%82
-2.38%