@nextnode-solutions/nn 1.1.2 → 1.1.3
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/dist/index.js +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -20265,7 +20265,11 @@ function removeIfDirectory(filePath) {
|
|
|
20265
20265
|
if (statSync3(filePath).isDirectory()) {
|
|
20266
20266
|
rmSync(filePath, { recursive: true });
|
|
20267
20267
|
}
|
|
20268
|
-
} catch {
|
|
20268
|
+
} catch (err) {
|
|
20269
|
+
const code = err instanceof Error && "code" in err ? err.code : void 0;
|
|
20270
|
+
if (code !== "ENOENT") {
|
|
20271
|
+
consola.warn(`Failed to clean up ${filePath}: ${err}`);
|
|
20272
|
+
}
|
|
20269
20273
|
}
|
|
20270
20274
|
}
|
|
20271
20275
|
var init_compose = __esm({
|