Skip to content

Commit

Permalink
ci: forbid using util.path.sanitize
Browse files Browse the repository at this point in the history
  • Loading branch information
dundargoc committed Nov 27, 2024
1 parent 5d8288c commit 718f3c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/ci/run_sanitizer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if git diff --pickaxe-all -U0 -G "${SEARCH_PATTERN}" "${REF_BRANCH}" "${PR_BRANC
exit 1
fi

SEARCH_PATTERN='(util\.path\.dirname)'
SEARCH_PATTERN='(util\.path\.dirname|util\.path\.sanitize)'

if git diff --pickaxe-all -U0 -G "${SEARCH_PATTERN}" "${REF_BRANCH}" "${PR_BRANCH}" -- '*.lua' | grep -Ev '\.lua$' | grep -E "^\+.*${SEARCH_PATTERN}" ; then
echo
Expand Down

0 comments on commit 718f3c7

Please sign in to comment.