Skip to content
Snippets Groups Projects
Commit a4090c7b authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

shellcheck


Signed-off-by: default avatarKenneth Reitz <me@kennethreitz.org>
parent 4242d458
No related branches found
No related tags found
No related merge requests found
......@@ -4,13 +4,13 @@ source $BIN_DIR/utils
set +e
tmpfile=$(mktemp /tmp/heroku-buildpack.XXXXX)
/app/.heroku/python/bin/python $ROOT_DIR/vendor/safety.zip 2>&1 > $tmpfile
/app/.heroku/python/bin/python $ROOT_DIR/vendor/safety.zip 2>&1 > "$tmpfile"
if [[ $? != 0 ]]; then
if [[ "$?" != 0 ]]; then
puts-warn "KNOWN SECURITY VULNERABILITIES FOUND IN DEPENDENCIES!"
cat "$tmpfile" | indent
indent < "$tmpfile"
fi
rm -fr $tmpfile
rm -fr "$tmpfile"
set -e
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment