@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.
Files changed (2) hide show
  1. package/dist/index.js +6 -4
  2. 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
- if (error48 instanceof ZodError) {
63440
- console.error(`Error in config file: ${path}
63441
- ${error48}`);
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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polka-codes/cli-shared",
3
- "version": "0.9.94",
3
+ "version": "0.9.95",
4
4
  "license": "AGPL-3.0",
5
5
  "author": "github@polka.codes",
6
6
  "type": "module",