Skip to content

Commit

Permalink
Merge pull request #86 from WillBartee/patch-2
Browse files Browse the repository at this point in the history
Issue #85 - Prevent unintentional file deletion
  • Loading branch information
michelkaporin authored Apr 11, 2022
2 parents 7ec8175 + 4e781e2 commit 7a25034
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup/setup_snyk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ die () {

[ "$#" -eq 2 ] || die "Setup Snyk requires two argument, $# provided"

cd "$(mktemp -d)"

echo "Installing the $1 version of Snyk on $2"

if [ "$1" == "latest" ]; then
Expand Down

0 comments on commit 7a25034

Please sign in to comment.