diff --git a/tools/tidy.sh b/tools/tidy.sh index 0b54a699..5bcdd6c0 100755 --- a/tools/tidy.sh +++ b/tools/tidy.sh @@ -978,9 +978,9 @@ if [[ -f .cspell.json ]]; then printf '%s\n' "${config_new}" >|.cspell.json dependencies_words='' if [[ -n "${has_rust}" ]]; then - dependencies_words=$(npx -y cspell stdin --no-progress --no-summary --words-only --unique <<<"${dependencies}" || true) + dependencies_words=$(npx -y cspell@8.17.5 stdin --no-progress --no-summary --words-only --unique <<<"${dependencies}" || true) fi - all_words=$(ls_files | { grep -Fv "${project_dictionary}" || true; } | npx -y cspell --file-list stdin --no-progress --no-summary --words-only --unique || true) + all_words=$(ls_files | { grep -Fv "${project_dictionary}" || true; } | npx -y cspell@8.17.5 --file-list stdin --no-progress --no-summary --words-only --unique || true) printf '%s\n' "${config_old}" >|.cspell.json trap -- 'printf >&2 "%s\n" "${0##*/}: trapped SIGINT"; exit 1' SIGINT cat >|.github/.cspell/rust-dependencies.txt <