@jsenv/filesystem
Advanced tools
Comparing version 4.10.9 to 4.10.10
{ | ||
"name": "@jsenv/filesystem", | ||
"version": "4.10.9", | ||
"version": "4.10.10", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -109,3 +109,8 @@ import { URL_META } from "@jsenv/url-meta"; | ||
} catch (e) { | ||
if (e.code === "ENOENT") { | ||
if ( | ||
e.code === "ENOENT" || | ||
e.code === "EACCES" || | ||
e.code === "EPERM" || | ||
e.code === "ENOTDIR" // happens on mac12 sometimes | ||
) { | ||
return { | ||
@@ -116,8 +121,2 @@ type: null, | ||
} | ||
if (e.code === "EACCES" || e.code === "EPERM") { | ||
return { | ||
type: null, | ||
stat: null, | ||
}; | ||
} | ||
throw e; | ||
@@ -124,0 +123,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
138637
4051