@polka-codes/cli-shared 0.9.94 → 0.9.95
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 +6 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -63436,11 +63436,13 @@ ${error48}`);
|
|
|
63436
63436
|
const config3 = readConfig(path);
|
|
63437
63437
|
configs.push(config3);
|
|
63438
63438
|
} catch (error48) {
|
|
63439
|
-
|
|
63440
|
-
|
|
63441
|
-
|
|
63442
|
-
throw error48;
|
|
63439
|
+
const errorCode = error48?.code;
|
|
63440
|
+
if (errorCode === "ENOENT") {
|
|
63441
|
+
continue;
|
|
63443
63442
|
}
|
|
63443
|
+
console.error(`Error loading config file: ${path}
|
|
63444
|
+
${error48}`);
|
|
63445
|
+
throw error48;
|
|
63444
63446
|
}
|
|
63445
63447
|
}
|
|
63446
63448
|
} else {
|