@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.
@@ -7016,13 +7016,10 @@ async function executeCommand(command, args, options) {
7016
7016
  }
7017
7017
  output.push(maskedData);
7018
7018
  });
7019
- child.on("error", (err) => {
7020
- process.stdin.unpipe(child.stdin);
7021
- reject(new CommandError(err.message, "code" in err && typeof err.code === "number" ? err.code : 1, output));
7022
- });
7019
+ child.on("error", (err) => reject(new CommandError(err.message, "code" in err && typeof err.code === "number" ? err.code : 1, output)));
7023
7020
  child.on("close", (code) => {
7024
- process.stdin.unpipe(child.stdin);
7025
7021
  if (code === 0 || code === null || code === 143) {
7022
+ process.stdin.unpipe(child.stdin);
7026
7023
  resolve$1(output);
7027
7024
  return;
7028
7025
  }