Fix: pass lexicon.txt as a parameter

This commit is contained in:
Alfred Gedeon 2020-10-22 21:25:09 -07:00
parent db62e30bce
commit 74a781a877

View file

@ -28,7 +28,7 @@ jobs:
PATH=$PATH:main/tools/spell
# Make sure that the portable directory is not included in the spellcheck.
sed -i 's/find $DIRNAME/find $DIRNAME -not -path '*portable*'/g' main/tools/spell/find-unknown-comment-words
find-unknown-comment-words --directory kernel/
find-unknown-comment-words --directory kernel/ --lexicon ./github/lexicon.txt
if [ "$?" = "0" ]; then
exit 0
else