Skip to content

Commit b0c1c55

Browse files
committed
tools: Remove lockfiles from spell-checking
The rare case happened where a lockfile sha-sum contained a "Ctlv" which spell-check complained about. Stupid lockfiles that don't know it is actually "cltv"! Signed-off-by: Peter Neuroth <[email protected]>
1 parent f668e0b commit b0c1c55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/check-spelling.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if git --no-pager grep -nHiE 'l[ightn]{6}g|l[ightn]{8}g|ilghtning|lgihtning|lihg
66
exit 1
77
fi
88

9-
if git --no-pager grep -nHiEP '(?<!en|htl)ctlv' -- . ':!tools/check-spelling.sh'; then
9+
if git --no-pager grep -nHiEP '(?<!en|htl)ctlv' -- . ':!tools/check-spelling.sh' ':!**/package-lock.json'; then
1010
echo "It's check lock time verify, not check time lock verify!" >&2
1111
exit 1
1212
fi

0 commit comments

Comments
 (0)