endform 0.47.2 → 0.48.1

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/bin/endform +5 -0
  2. package/package.json +5 -5
package/bin/endform CHANGED
@@ -148,6 +148,11 @@ const main = async () => {
148
148
  stdio: "inherit",
149
149
  });
150
150
  } catch (err) {
151
+ // err.code is a string (e.g., "ENOENT") when the binary failed to execute,
152
+ // otherwise it's typically undefined (the CLI already printed its own error)
153
+ if (err.message && typeof err.code === "string") {
154
+ console.error(err.message);
155
+ }
151
156
  process.exit(err.status || 1);
152
157
  }
153
158
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "endform",
3
- "version": "0.47.2",
3
+ "version": "0.48.1",
4
4
  "description": "Endform CLI",
5
5
  "repository": "https://github.com/endformdev/npm",
6
6
  "license": "UNLICENSED",
@@ -12,9 +12,9 @@
12
12
  "bin"
13
13
  ],
14
14
  "optionalDependencies": {
15
- "endform-darwin-arm64": "0.47.2",
16
- "endform-darwin-x86": "0.47.2",
17
- "endform-linux-arm64": "0.47.2",
18
- "endform-linux-x86": "0.47.2"
15
+ "endform-darwin-arm64": "0.48.1",
16
+ "endform-darwin-x86": "0.48.1",
17
+ "endform-linux-arm64": "0.48.1",
18
+ "endform-linux-x86": "0.48.1"
19
19
  }
20
20
  }