Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <github@ysh.us>
  • Loading branch information
yurishkuro committed May 11, 2024
1 parent 0a09c62 commit 81595fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions scripts/cspell/project-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ rebalance
reddy
reindex
reindexing
robbert
rolebinding
ryans
shkuro
Expand Down
6 changes: 3 additions & 3 deletions scripts/cspell/spellcheck.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash

if ! sort -c project-words.txt; then
echo "project-words.txt is not sorted."
echo "project-words.txt is not sorted."
exit 1
fi
npm install cspell
npm ci # clean install, do not upgrade dependencies
npm run spellcheck
if [ $? -ne 0 ]; then
echo "Misspelling(s) found."
exit 1
fi
fi

0 comments on commit 81595fc

Please sign in to comment.