Comparing version 1.4.0 to 1.4.1
@@ -187,7 +187,9 @@ /* wrench.js | ||
// ignores all files or directories which match the RegExp in opts.filter | ||
if(!opts.whitelist && opts.filter && files[i].match(opts.filter)) continue; | ||
// if opts.whitelist is true every file or directory which doesn't match opts.filter will be ignored | ||
if(opts.whitelist && opts.filter && !files[i].match(opts.filter)) continue; | ||
if (opts.excludeHiddenUnix && /^\./.test(files[i])) continue; | ||
if(typeof opts !== 'undefined') { | ||
if(!opts.whitelist && opts.filter && files[i].match(opts.filter)) continue; | ||
// if opts.whitelist is true every file or directory which doesn't match opts.filter will be ignored | ||
if(opts.whitelist && opts.filter && !files[i].match(opts.filter)) continue; | ||
if (opts.excludeHiddenUnix && /^\./.test(files[i])) continue; | ||
} | ||
var currFile = fs.lstatSync(sourceDir + "/" + files[i]); | ||
@@ -194,0 +196,0 @@ if(currFile.isDirectory()) { |
{ | ||
"name": "wrench", | ||
"description": "Recursive filesystem (and other) operations that Node *should* have.", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"author": "Ryan McGrath <ryan@venodesigns.net>", | ||
@@ -6,0 +6,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21985
460