Skip to content

Commit

Permalink
Fix File-Globs (#25)
Browse files Browse the repository at this point in the history
* Disable Bash Glob Expansion in Entrypoint.sh
  • Loading branch information
gfs authored Mar 11, 2024
1 parent b41921d commit 0c0b1a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,7 @@ else
Idopts="--ignore-rule-ids $6"
fi

# Prevent glob expansion, fix ignore-globs parsing
set -o noglob

/tools/devskim analyze --source-code "$ScanTarget" --output-file "$OutputDirectory/$3" $8 $Opts --ignore-globs $5 $Idopts $OptionsJsonArg

0 comments on commit 0c0b1a9

Please sign in to comment.