fix core
: -wipe did not exit after error
This commit is contained in:
parent
2199464f67
commit
7bdd83ee66
1 changed files with 1 additions and 0 deletions
|
@ -1582,6 +1582,7 @@ if [[ ( $2 == "-wipe" || $2 == "-w" ) ]]; then VCMD="y"
|
||||||
|
|
||||||
if [[ -z $(find .blueprint/dev -maxdepth 1 -type f -not -name ".gitkeep" -print -quit) ]]; then
|
if [[ -z $(find .blueprint/dev -maxdepth 1 -type f -not -name ".gitkeep" -print -quit) ]]; then
|
||||||
PRINT FATAL "Development directory is empty."
|
PRINT FATAL "Development directory is empty."
|
||||||
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PRINT INPUT "You are about to wipe all of your development files, are you sure you want to continue? This cannot be undone. (y/N)"
|
PRINT INPUT "You are about to wipe all of your development files, are you sure you want to continue? This cannot be undone. (y/N)"
|
||||||
|
|
Loading…
Reference in a new issue