8000 Add better output dir support · advanced-security/gh-codeql-scan@f4846fa · GitHub
[go: up one dir, main page]

Skip to content

Commit

Permalink
Add better output dir support
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekMasher committed Mar 7, 2023
1 parent 7cc48c9 commit f4846fa
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions gh-codeql-scan
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,15 @@ for i in "$@"; do
done


# Create dirs CodeQL
mkdir -p $CODEQL_DATABASES
debug "Using CodeQL databases: $CODEQL_DATABASES"
mkdir -p $CODEQL_RESULTS
debug "Using CodeQL results: $CODEQL_RESULTS"
# Output dirs
info "Storing CodeQL databases :: $CODEQL_DATABASES"
if [ ! -d $CODEQL_DATABASES ]; then
mkdir -p $CODEQL_DATABASES
fi
info "Storing CodeQL results :: $CODEQL_RESULTS"
if [ ! -d $CODEQL_RESULTS ]; then
mkdir -p $CODEQL_RESULTS
fi


# Auto detect the repository owner and name
Expand Down

0 comments on commit f4846fa

Please sign in to comment.
0