From: Chocobozzz Date: Mon, 12 Jun 2017 18:34:50 +0000 (+0200) Subject: Fix prod clean script X-Git-Tag: v0.0.1-alpha~414 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7593a21d13baad422efedfb658d7ceda4e0a8c6b;p=oweals%2Fpeertube.git Fix prod clean script --- diff --git a/scripts/danger/clean/prod.sh b/scripts/danger/clean/prod.sh index 7ee13ba83..705987100 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 node "./scripts/danger/clean/cleaner" + NODE_ENV=production npm run ts-node "./scripts/danger/clean/cleaner" fi