You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(err&&(err.code===130||err.signal===2)){// SIGINT seen on darwin as code === 130, would also make sense as signal === 2.
516
+
infoOutput.raw(`\r\n\x1b[1m${name ? `${name} of ${lifecycleHookName}` : lifecycleHookName} from ${userCommandOrigin} interrupted.\x1b[0m\r\n\r\n`);
517
+
}else{
518
+
if(err?.code){
519
+
infoOutput.write(toErrorText(`${name ? `${name} of ${lifecycleHookName}` : lifecycleHookName} from ${userCommandOrigin} failed with exit code ${err.code}. Skipping any further user-provided commands.`));
520
+
}
521
+
thrownewContainerError({
522
+
description: `${name ? `${name} of ${lifecycleHookName}` : lifecycleHookName} from ${userCommandOrigin} failed.`,
523
+
originalError: err
524
+
});
511
525
}
512
-
513
-
infoOutput.event({
514
-
type: 'progress',
515
-
name: progressName,
516
-
status: 'succeeded',
517
-
});
518
526
}
527
+
}
519
528
520
-
infoOutput.raw(`\x1b[1mRunning the ${lifecycleHookName} from ${userCommandOrigin}...\x1b[0m\r\n\r\n`);
529
+
infoOutput.raw(`\x1b[1mRunning the ${lifecycleHookName} from ${userCommandOrigin}...\x1b[0m\r\n\r\n`);
0 commit comments