Skip to content

Commit 3095392

Browse files
committed
Fix walkSync filter from recursing into node_modules
1 parent f4dce33 commit 3095392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/jscs-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
var walkSync = require('walk-sync');
44
var execFile = require("child_process").execFile;
55

6-
var nodeTestFiles = walkSync('.')
6+
var nodeTestFiles = walkSync('.', { globs: ['{lib,blueprints,tests}/**/*.js'] })
77
.filter(function(file) {
88
return /.js$/.test(file);
99
})

0 commit comments

Comments
 (0)