Skip to content

Commit

Permalink
Chore(runner): Removed nsp
Browse files Browse the repository at this point in the history
This is now being done by npm on each install
  • Loading branch information
fvdm committed Jul 25, 2018
1 parent d220c70 commit dbdf504
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ nodebin="$libpath/node_modules/.bin"
eslintBin="$nodebin/eslint"
istanbulBin="$nodebin/istanbul"
coverallsBin="$nodebin/coveralls"
nspBin="$nodebin/nsp"

export GIT_REPO_SLUG="$TRAVIS_REPO_SLUG"

Expand Down Expand Up @@ -73,19 +72,5 @@ if [[ "$TRAVIS" == "true" ]]; then
fi
fi

# Check for vulnerabilities
if [[ -x "$nspBin" ]]; then
echo
echo "Running NSP..."
echo
"$nspBin" check || result=1
echo
else
result=1
echo -e "\033[31mERROR:\033[0m NSP is not installed"
echo "Run 'npm i' to install all dependencies."
echo
fi

# All done, return exit status
exit $result

0 comments on commit dbdf504

Please sign in to comment.