]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/danger/clean/dev.sh
Return to sequelize@4.0.0-2 (makes tests fail)
[github/Chocobozzz/PeerTube.git] / scripts / danger / clean / dev.sh
index 5f09565cf0071b8506d90df2cf0d34f2d6fb7828..270ca0a2e0f7be9ec5ec33766dc178bcb82bb722 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=test node "./scripts/danger/clean/cleaner"
+  NODE_ENV=test npm run ts-node "./scripts/danger/clean/cleaner"
 fi