Skip to content

Commit

Permalink
Allow to run the linter without Chrome running
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus-and committed Jun 4, 2017
1 parent ef97bd3 commit c0a6b4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c0a6b4d

Please sign in to comment.