Skip to content

Commit 568d533

Browse files
spelling neater elif
Co-authored-by: Peter Newman <peternewman@users.noreply.github.com>
1 parent 7cb2051 commit 568d533

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

scripts/spelling.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@ if [ $current_test = "spellintian" ]; then
9494
# exit 1;
9595
exit 0;
9696
fi;
97-
fi;
98-
99-
if [ $current_test = "codespell" ]; then
97+
elif [ $current_test = "codespell" ]; then
10098
if ! zrun codespell --interactive 0 --check-filenames --check-hidden --quiet 2 --regex "[a-zA-Z0-9][\\-'a-zA-Z0-9]+[a-zA-Z0-9]" --exclude-file .codespellignorelines --ignore-words .codespellignorewords $spellingfiles 2>&1; then
10199
exit 1;
102100
fi;

0 commit comments

Comments
 (0)