]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/danger/clean/prod.sh
Return to sequelize@4.0.0-2 (makes tests fail)
[github/Chocobozzz/PeerTube.git] / scripts / danger / clean / prod.sh
index e6c92671de60130de74decadae19ae5b7338bd90..705987100476b399e817a78f5716e292befeb23f 100755 (executable)
@@ -1,7 +1,8 @@
 #!/bin/bash
 
-read -p "This will remove all directories and Mongo database. Are you sure? " -n 1 -r
+read -p "This will remove all directories and SQL tables. Are you sure? (y/*) " -n 1 -r
+echo
 
 if [[ "$REPLY" =~ ^[Yy]$ ]]; then
-  NODE_ENV=production node "./scripts/danger/clean/cleaner"
+  NODE_ENV=production npm run ts-node "./scripts/danger/clean/cleaner"
 fi