Skip to content

Commit

Permalink
test/suites/static_analysis: ignore some suggestions from shellcheck
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Jul 9, 2024
1 parent 9399019 commit 178e76f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/suites/static_analysis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test_static_analysis() {

# Shell static analysis
if command -v shellcheck >/dev/null 2>&1; then
shellcheck --shell sh test/*.sh test/includes/*.sh test/suites/*.sh test/backends/*.sh
shellcheck -e SC2086 -e SC2269 -e SC2295 --shell sh test/*.sh test/includes/*.sh test/suites/*.sh test/backends/*.sh
else
echo "shellcheck not found, shell static analysis disabled"
fi
Expand Down

0 comments on commit 178e76f

Please sign in to comment.