diff options
author | bnjmnm <benm@umich.edu> | 2023-03-08 15:26:43 -0500 |
---|---|---|
committer | bnjmnm <benm@umich.edu> | 2023-03-08 15:26:43 -0500 |
commit | 905966164beb3c2f2eb4aa09c7e279d0fc16f1d1 (patch) | |
tree | df5a989eb281f3f7524f51de867eab2f24e8c379 /core/scripts/dev/commit-code-check.sh | |
parent | 84547a7972719ec358bebfc942b94b729a0c6a4c (diff) | |
download | drupal-905966164beb3c2f2eb4aa09c7e279d0fc16f1d1.tar.gz drupal-905966164beb3c2f2eb4aa09c7e279d0fc16f1d1.zip |
Issue #3314151 by Wim Leers, phenaproxima, smustgrave: Fix cspell use: specify globRoot and always pass --root to cspell
Diffstat (limited to 'core/scripts/dev/commit-code-check.sh')
-rwxr-xr-x | core/scripts/dev/commit-code-check.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/scripts/dev/commit-code-check.sh b/core/scripts/dev/commit-code-check.sh index 8b72409bd156..6959f859746b 100755 --- a/core/scripts/dev/commit-code-check.sh +++ b/core/scripts/dev/commit-code-check.sh @@ -202,7 +202,7 @@ if [ $DEPENDENCIES_NEED_INSTALLING -ne 0 ]; then fi # Check all files for spelling in one go for better performance. -yarn run -s spellcheck --no-must-find-files -c $TOP_LEVEL/core/.cspell.json $ABS_FILES +yarn run -s spellcheck --no-must-find-files --root $TOP_LEVEL $ABS_FILES if [ "$?" -ne "0" ]; then # If there are failures set the status to a number other than 0. FINAL_STATUS=1 |