mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 20:20:49 +00:00
Add manual setup and teardown instructions on failure
This commit is contained in:
parent
d29edc4c36
commit
50a931cf4d
8 changed files with 106 additions and 4 deletions
|
|
@ -47,8 +47,14 @@ export async function teardown() {
|
|||
ui.writeError(
|
||||
`${chalk.bold("- " + shell.name + ":")} ${chalk.red(
|
||||
"Teardown failed"
|
||||
)}. Please check your ${shell.name} configuration.`
|
||||
)}`
|
||||
);
|
||||
ui.emptyLine();
|
||||
ui.writeInformation(` ${chalk.bold("To tear down manually:")}`);
|
||||
for (const instruction of shell.getManualTeardownInstructions()) {
|
||||
ui.writeInformation(` ${instruction}`);
|
||||
}
|
||||
ui.emptyLine();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue