@jsenv/filesystem 4.10.6 → 4.10.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -252,10 +252,9 @@ export const registerDirectoryLifecycle = (
|
|
|
252
252
|
entryNameArray = readdirSync(directoryUrlObject);
|
|
253
253
|
} catch (e) {
|
|
254
254
|
if (e.code === "ENOENT") {
|
|
255
|
-
|
|
256
|
-
} else {
|
|
257
|
-
throw e;
|
|
255
|
+
return;
|
|
258
256
|
}
|
|
257
|
+
throw e;
|
|
259
258
|
}
|
|
260
259
|
for (const entryName of entryNameArray) {
|
|
261
260
|
const childEntryUrl = new URL(entryName, directoryUrl).href;
|