resolve-files
Advanced tools
Comparing version 1.0.1 to 1.0.2
1.0.2 / 2017-05-03 | ||
================== | ||
* fix: ignore when entry is not exist or not a file (#2) | ||
1.0.1 / 2017-03-24 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -29,3 +29,5 @@ 'use strict'; | ||
for (const entry of entries) { | ||
resolveFile(entry, files, options); | ||
if (fs.existsSync(entry) && fs.statSync(entry).isFile()) { | ||
resolveFile(entry, files, options); | ||
} | ||
} | ||
@@ -32,0 +34,0 @@ |
{ | ||
"name": "resolve-files", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Get all files from the given entry that resolved by `require`", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
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
5888
68