chore(repo): always log error for runCommandUntil (#16748)
This commit is contained in:
parent
2163d720e6
commit
3307188975
@ -247,7 +247,6 @@ export function runCommandUntil(
|
|||||||
p.stderr?.on('data', checkCriteria);
|
p.stderr?.on('data', checkCriteria);
|
||||||
p.on('exit', (code) => {
|
p.on('exit', (code) => {
|
||||||
if (!complete) {
|
if (!complete) {
|
||||||
if (isVerboseE2ERun()) {
|
|
||||||
logError(
|
logError(
|
||||||
`Original output:`,
|
`Original output:`,
|
||||||
output
|
output
|
||||||
@ -255,7 +254,6 @@ export function runCommandUntil(
|
|||||||
.map((l) => ` ${l}`)
|
.map((l) => ` ${l}`)
|
||||||
.join('\n')
|
.join('\n')
|
||||||
);
|
);
|
||||||
}
|
|
||||||
rej(`Exited with ${code}`);
|
rej(`Exited with ${code}`);
|
||||||
} else {
|
} else {
|
||||||
res(p);
|
res(p);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user