Comparing version 3.0.3 to 3.0.4
@@ -27,3 +27,3 @@ "use strict"; | ||
if (!dir || !opts || !opts.exclude || !opts.exclude.length) return false; | ||
return opts.exclude.length && !!multimatch(dir, opts.exclude, opts.minimatch).length; | ||
return Boolean(multimatch(dir, opts.exclude, opts.minimatch).length); | ||
} | ||
@@ -30,0 +30,0 @@ |
{ | ||
"name": "rrdir", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "Recursive directory crawler with a delightful API", | ||
@@ -5,0 +5,0 @@ "author": "silverwind <me@silverwind.io>", |
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
8117