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