From c0a6b4d06ce63b940fb0601207cb464d16692c17 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Sun, 4 Jun 2017 12:23:20 +0200 Subject: [PATCH] Allow to run the linter without Chrome running --- scripts/run-tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index 6192943..2161331 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -10,14 +10,14 @@ run-suite() { set -e +header 'Linter' +scripts/run-linter.sh + if ! curl -s 'http://localhost:9222' >/dev/null; then echo 'Start Chrome with "--remote-debugging-port=9222"' false fi -header 'Linter' -scripts/run-linter.sh - header 'Node.js: (default)' run-suite