--yes
This commit is contained in:
parent
3d02ea0fcb
commit
e27756f685
|
@ -3,4 +3,4 @@
|
|||
set -euo pipefail
|
||||
|
||||
make ecr system
|
||||
make env CMD="dep deploy:live --publish --all" Z=xz CI=1 TEST_PATIENCE=4 TEST_CONCURRENCY=1
|
||||
make env CMD="dep deploy:live --publish --all --yes" Z=xz CI=1 TEST_PATIENCE=4 TEST_CONCURRENCY=1
|
||||
|
|
|
@ -355,10 +355,15 @@ async function getUserInput(prompt) {
|
|||
prompt: prompt,
|
||||
});
|
||||
rl.prompt();
|
||||
const resp = await new Promise((resolve) => {
|
||||
const resp = await new Promise((resolve, reject) => {
|
||||
rl.on("line", (line) => {
|
||||
resolve(line);
|
||||
});
|
||||
rl.on("close", () => {
|
||||
console.log();
|
||||
console.log();
|
||||
reject(new Error("cancelled"));
|
||||
});
|
||||
});
|
||||
rl.close();
|
||||
return resp;
|
||||
|
|
Loading…
Reference in New Issue