From cbbaa7973730abd1d1569dd7a5646f5f433219d9 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 20 Jul 2020 20:38:14 +0200 Subject: Fixed node_modules linting --- run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run b/run index 9362e9a..edc0161 100755 --- a/run +++ b/run @@ -3,12 +3,12 @@ ARGS=(--allow-net --allow-env --allow-read --allow-write --unstable) if grep -q "DEBUG=1" .env; then - deno lint --unstable && + deno lint --unstable src/ && deno test "${ARGS[@]}" test/ && echo "Tests succeeded!" && deno run "${ARGS[@]}" src/main.ts elif grep -q "DEBUG=2" .env; then - deno lint --unstable && + deno lint --unstable src/ && deno test "${ARGS[@]}" test/ && echo "Tests succeeded!" else -- cgit v1.2.3