@jsenv/filesystem
Advanced tools
Comparing version 4.9.0 to 4.9.1
{ | ||
"name": "@jsenv/filesystem", | ||
"version": "4.9.0", | ||
"version": "4.9.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -19,2 +19,3 @@ import { resolveUrl, urlToFileSystemPath } from "@jsenv/urls"; | ||
followLink = true, | ||
noEntryEffect = "throw", | ||
}) => { | ||
@@ -31,3 +32,6 @@ const fromUrl = assertAndNormalizeFileUrl(from); | ||
if (!sourceStats) { | ||
throw new Error(`nothing to move from ${fromPath}`); | ||
if (noEntryEffect === "throw") { | ||
throw new Error(`nothing to move from ${fromPath}`); | ||
} | ||
return; | ||
} | ||
@@ -34,0 +38,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
136879
3987