Skip to content

Commit

Permalink
Fix forbidden word check (ordinals#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Aug 16, 2022
1 parent 60dbe50 commit 89aac95
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bin/forbid
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

set -euo pipefail

which rg
which rg > /dev/null

! rg \
--glob !bin/forbid \
--glob '!bin/forbid' \
--ignore-case \
'dbg!|fixme|todo|xxx'
'dbg!|fixme|todo|xxx' \
.

0 comments on commit 89aac95

Please sign in to comment.