Skip to content

Commit

Permalink
Fixed scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
robama committed Aug 19, 2019
1 parent c805b86 commit db975ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions run-analysis
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
#!/bin/sh
#!/bin/bash

DIR=`dirname $(readlink -f "$0")`
if
[[ `nyc 2>/dev/null` ]]
[[ `which nyc` ]]
then
NYC=nyc
else
NYC=$DIR/node_modules/nyc/bin/nyc.js
fi

if
[ -z $2 ]
then
Expand Down
2 changes: 1 addition & 1 deletion run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

DIR=`dirname $(readlink -f "$0")`
if
[[ `nyc 2>/dev/null` ]]
[[ `which nyc` ]]
then
NYC=nyc
else
Expand Down

0 comments on commit db975ed

Please sign in to comment.