@karmaniverous/get-dotenv 2.3.1 → 2.3.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.
@@ -136,10 +136,10 @@ if (command || program.args.length) {
136
136
  .map((c) => parseArgsStringToArgv(c));
137
137
 
138
138
  for (const argv of argvs) {
139
- const { error, status } = spawn.sync(argv[0], argv.slice(1), {
139
+ const { status } = spawn.sync(argv[0], argv.slice(1), {
140
140
  stdio: 'inherit',
141
141
  });
142
- if ((error || status) && throwError)
143
- throw error ?? new Error(`exited with code ${status}`);
142
+
143
+ if (status && throwError) process.exit(status);
144
144
  }
145
145
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "bin": {
4
4
  "getdotenv": "bin/getdotenv/index.js"
5
5
  },
6
- "version": "2.3.1",
6
+ "version": "2.3.3",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },