mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-23 15:00:34 +01:00
Not sure how this got through Travis. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 lines
401 B
Bash
Executable file
7 lines
401 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if git --no-pager grep -nHiE 'l[ightn]{6}g|l[ightn]{8}g|ilghtning|lgihtning|lihgtning|ligthning|lighnting|lightinng|lightnnig|lightnign' -- . ':!tools/check-spelling.sh'; then
|
|
echo "Identified a likely misspelling of the word \"lightning\" (see above). Please fix."
|
|
echo "Is this warning incorrect? Please teach tools/check-spelling.sh about the exciting new word."
|
|
exit 1
|
|
fi
|