From 61b3e146e16e997ea539cd4610af10d4b681e04a Mon Sep 17 00:00:00 2001
From: Chocobozzz <me@florianbigard.com>
Date: Tue, 20 Feb 2018 18:01:38 +0100
Subject: Add ability to import videos from all supported youtube-dl sites

---
 scripts/danger/clean/dev.sh  | 2 +-
 scripts/danger/clean/prod.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'scripts/danger')

diff --git a/scripts/danger/clean/dev.sh b/scripts/danger/clean/dev.sh
index 270ca0a2e..cd8456772 100755
--- a/scripts/danger/clean/dev.sh
+++ b/scripts/danger/clean/dev.sh
@@ -4,5 +4,5 @@ read -p "This will remove all directories and SQL tables. Are you sure? (y/*) "
 echo
 
 if [[ "$REPLY" =~ ^[Yy]$ ]]; then
-  NODE_ENV=test npm run ts-node "./scripts/danger/clean/cleaner"
+  NODE_ENV=test npm run ts-node -- --type-check "./scripts/danger/clean/cleaner"
 fi
diff --git a/scripts/danger/clean/prod.sh b/scripts/danger/clean/prod.sh
index 705987100..9103a7944 100755
--- a/scripts/danger/clean/prod.sh
+++ b/scripts/danger/clean/prod.sh
@@ -4,5 +4,5 @@ read -p "This will remove all directories and SQL tables. Are you sure? (y/*) "
 echo
 
 if [[ "$REPLY" =~ ^[Yy]$ ]]; then
-  NODE_ENV=production npm run ts-node "./scripts/danger/clean/cleaner"
+  NODE_ENV=production npm run ts-node -- --type-check "./scripts/danger/clean/cleaner"
 fi
-- 
cgit v1.2.3