diff options
Diffstat (limited to 'scripts/danger/clean/dev.sh')
-rwxr-xr-x | scripts/danger/clean/dev.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/danger/clean/dev.sh b/scripts/danger/clean/dev.sh index cd8456772..14b45e13b 100755 --- a/scripts/danger/clean/dev.sh +++ b/scripts/danger/clean/dev.sh | |||
@@ -1,8 +1,10 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | set -eu | ||
4 | |||
3 | read -p "This will remove all directories and SQL tables. Are you sure? (y/*) " -n 1 -r | 5 | read -p "This will remove all directories and SQL tables. Are you sure? (y/*) " -n 1 -r |
4 | echo | 6 | echo |
5 | 7 | ||
6 | if [[ "$REPLY" =~ ^[Yy]$ ]]; then | 8 | if [[ "$REPLY" =~ ^[Yy]$ ]]; then |
7 | NODE_ENV=test npm run ts-node -- --type-check "./scripts/danger/clean/cleaner" | 9 | NODE_ENV=test npm run ts-node -- --type-check "scripts/danger/clean/cleaner" |
8 | fi | 10 | fi |