@bscotch/utility
Advanced tools
Comparing version 0.3.1 to 0.4.0
@@ -18,2 +18,5 @@ "use strict"; | ||
} | ||
else if (!fs_1.default.existsSync(dir)) { | ||
return []; | ||
} | ||
const excludedDirs = []; | ||
@@ -20,0 +23,0 @@ if (!(options === null || options === void 0 ? void 0 : options.includeDotGit)) { |
@@ -0,1 +1,10 @@ | ||
# [0.4.0](https://github.com/bscotch/node-util/compare/v0.3.1...v0.4.0) (2020-10-12) | ||
### Features | ||
* When listing files/folders in a directory, will now return an empty array for non-existent paths instead of throwing an error. ([8fe2a5c](https://github.com/bscotch/node-util/commit/8fe2a5cad9b59f4ba64549874670bc238d4149c7)) | ||
## [0.3.1](https://github.com/bscotch/node-util/compare/v0.3.0...v0.3.1) (2020-10-12) | ||
@@ -2,0 +11,0 @@ |
{ | ||
"name": "@bscotch/utility", | ||
"version": "0.3.1", | ||
"version": "0.4.0", | ||
"description": "Bscotch Utilities: Methods for common Node.js needs.", | ||
@@ -5,0 +5,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
23459
257