@settlemint/sdk-utils 2.3.2-pr91333fa5 → 2.3.2-pr93617a9a
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/environment.cjs +2 -5
- package/dist/environment.cjs.map +1 -1
- package/dist/environment.js +2 -5
- package/dist/environment.js.map +1 -1
- package/dist/package-manager.cjs +2 -5
- package/dist/package-manager.cjs.map +1 -1
- package/dist/package-manager.js +2 -5
- package/dist/package-manager.js.map +1 -1
- package/dist/terminal.cjs +2 -5
- package/dist/terminal.cjs.map +1 -1
- package/dist/terminal.js +2 -5
- package/dist/terminal.js.map +1 -1
- package/package.json +1 -1
package/dist/environment.cjs
CHANGED
|
@@ -190,13 +190,10 @@ async function executeCommand(command, args, options) {
|
|
|
190
190
|
}
|
|
191
191
|
output.push(maskedData);
|
|
192
192
|
});
|
|
193
|
-
child.on("error", (err) =>
|
|
194
|
-
process.stdin.unpipe(child.stdin);
|
|
195
|
-
reject(new CommandError(err.message, "code" in err && typeof err.code === "number" ? err.code : 1, output));
|
|
196
|
-
});
|
|
193
|
+
child.on("error", (err) => reject(new CommandError(err.message, "code" in err && typeof err.code === "number" ? err.code : 1, output)));
|
|
197
194
|
child.on("close", (code) => {
|
|
198
|
-
process.stdin.unpipe(child.stdin);
|
|
199
195
|
if (code === 0 || code === null || code === 143) {
|
|
196
|
+
process.stdin.unpipe(child.stdin);
|
|
200
197
|
resolve(output);
|
|
201
198
|
return;
|
|
202
199
|
}
|