Skip to content

Commit 8a6d856

Browse files
committed
Keep spellcheck from searching hidden directories.
Otherwise spellcheck will search for example in `.venv` for typos in tooling packages. Maybe the search expression should be a positive list.
1 parent 9128e5d commit 8a6d856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/spellcheck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fi
88
ROOT=$(git rev-parse --show-toplevel)
99

1010
# This gets us only english .md files at the moment, but is clearly brittle
11-
MARKDOWN_FILES=$(find "$ROOT" -name '*.md' -not -path '**/ptBR/**' -not -path '**/*-ptBR.md' -not -path '**/ja/**')
11+
MARKDOWN_FILES=$(find "$ROOT" -name '*.md' -not -path '**/ptBR/**' -not -path '**/*-ptBR.md' -not -path '**/ja/**' -not -path '**/.*/**')
1212
# Use our local dict for saved words, and use en_US for the main dict
1313
ASPELL="aspell -M --dont-save-repl -p $ROOT/util/aspell.en.pws -d en_US"
1414

0 commit comments

Comments
 (0)