Skip to content

Commit

Permalink
tools/check-spelling: Fix grep error on macOS
Browse files Browse the repository at this point in the history
Changelog-Fixed: Fixes `make full-check` errors on macOS
  • Loading branch information
nalinbhardwaj committed Jun 21, 2021
1 parent 4936ca9 commit c893ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/check-spelling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if git --no-pager grep -nHiE 'l[ightn]{6}g|l[ightn]{8}g|ilghtning|lgihtning|lihg
exit 1
fi

if git --no-pager grep -nHiE 'ctlv' | grep -v 'enctlv' -- . ':!tools/check-spelling.sh'; then
if git --no-pager grep -nHiEP '(?<!en)ctlv' -- . ':!tools/check-spelling.sh'; then
echo "It's check lock time verify, not check time lock verify!" >&2
exit 1
fi

0 comments on commit c893ed6

Please sign in to comment.