Skip to content

Commit

Permalink
Fix permission error after snyk installation (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabasoad authored Nov 8, 2021
1 parent 9f64c4d commit 586c4d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hooks/_check-installation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ then
INSTALLATION_DIR="${HOME}"/bin
mkdir -p "${INSTALLATION_DIR}"
curl -s https://static.snyk.io/cli/latest/release.json | jq ".assets.\"snyk-${os}\".url" | xargs curl --output "${INSTALLATION_DIR}"/snyk
chmod +x "${INSTALLATION_DIR}"/snyk
export PATH="${INSTALLATION_DIR}/:$PATH"
fi

0 comments on commit 586c4d2

Please sign in to comment.