| 1 | #!/bin/bash |
| 2 | |
| 3 | set -eu |
| 4 | |
| 5 | read -p "This will remove all directories and SQL tables. Are you sure? (y/*) " -n 1 -r |
| 6 | echo |
| 7 | |
| 8 | if [[ "$REPLY" =~ ^[Yy]$ ]]; then |
| 9 | NODE_ENV=production npm run ts-node -- --type-check "./scripts/danger/clean/cleaner" |
| 10 | fi |