@polka-codes/runner 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 +7 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -42783,7 +42783,7 @@ var {
42783
42783
  Help
42784
42784
  } = import__.default;
42785
42785
  // package.json
42786
- var version = "0.9.94";
42786
+ var version = "0.9.95";
42787
42787
 
42788
42788
  // src/runner.ts
42789
42789
  import { execSync } from "node:child_process";
@@ -68906,11 +68906,13 @@ ${error48}`);
68906
68906
  const config3 = readConfig(path);
68907
68907
  configs.push(config3);
68908
68908
  } catch (error48) {
68909
- if (error48 instanceof ZodError) {
68910
- console.error(`Error in config file: ${path}
68911
- ${error48}`);
68912
- throw error48;
68909
+ const errorCode = error48?.code;
68910
+ if (errorCode === "ENOENT") {
68911
+ continue;
68913
68912
  }
68913
+ console.error(`Error loading config file: ${path}
68914
+ ${error48}`);
68915
+ throw error48;
68914
68916
  }
68915
68917
  }
68916
68918
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polka-codes/runner",
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",