Fix: Pass lexicon.txt as a parameter (#208)
* Fix: pass lexicon.txt as a parameter
* Fix lexicon location
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 593c384..377813b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -28,7 +28,7 @@
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 ./kernel/.github/lexicon.txt
if [ "$?" = "0" ]; then
exit 0
else