Skip to content

Commit

Permalink
Merge pull request #1855 from pdfernhout/patch-2
Browse files Browse the repository at this point in the history
Update ospec to ignore hidden directories and files
  • Loading branch information
Isiah Meadows committed May 21, 2017
2 parents dfcbc8e + 95addff commit 7ee4e00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ospec/bin/ospec
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ function traverseDirectory(pathname, callback) {
var promises = []
for (var i = 0; i < pathnames.length; i++) {
if (pathnames[i] === "node_modules") continue
if (pathnames[i][0] === ".") continue
pathnames[i] = path.join(pathname, pathnames[i])
promises.push(traverseDirectory(pathnames[i], callback))
}
Expand Down

0 comments on commit 7ee4e00

Please sign in to comment.