@polterware/polter 0.2.0 → 0.2.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.
package/dist/api.js CHANGED
@@ -20,7 +20,7 @@ import {
20
20
  runCommand,
21
21
  savePipeline,
22
22
  toolFlags
23
- } from "./chunk-2OZZNSKW.js";
23
+ } from "./chunk-3XNNC5AW.js";
24
24
  export {
25
25
  allCommands,
26
26
  applyActions,
@@ -924,8 +924,11 @@ async function runCommand(execution, args, cwd = process.cwd(), options) {
924
924
  cwd,
925
925
  env: resolvedExecution.env,
926
926
  shell: true,
927
- stdio: ["inherit", "pipe", "pipe"]
927
+ stdio: [options?.quiet ? "pipe" : "inherit", "pipe", "pipe"]
928
928
  });
929
+ if (options?.quiet) {
930
+ child.stdin?.end();
931
+ }
929
932
  child.stdout?.on("data", (data) => {
930
933
  const text = data.toString();
931
934
  stdout += text;