generated from nhcarrigan/template
fix: directory path
This commit is contained in:
parent
9d0cd7f284
commit
6b66b0617c
3
scan.sh
3
scan.sh
@ -33,7 +33,8 @@ for directory in "${repositories[@]}"; do
|
|||||||
|
|
||||||
# Need to move directories for Snyk to track the target correctly.
|
# Need to move directories for Snyk to track the target correctly.
|
||||||
cd ./_repos/$directory;
|
cd ./_repos/$directory;
|
||||||
snyk test --dev --json --json-file-output=./_repos/security/snyk/$directory.json $current_dir/$directory;
|
snyk monitor --dev --project-name=$directory --remote-repo-url=$(git remote get-url origin) $current_dir/_repos/$directory;
|
||||||
|
snyk test --dev --json --json-file-output=./snyk/$directory.json $current_dir/_repos/$directory;
|
||||||
cd $current_dir;
|
cd $current_dir;
|
||||||
|
|
||||||
# Manual dependency version checks (no reliable package to do this for us :/ )
|
# Manual dependency version checks (no reliable package to do this for us :/ )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user