summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Higgins <pete@peterhiggins.org>2020-12-28 16:41:29 -0800
committerTim Smith <tsmith84@gmail.com>2020-12-30 11:43:45 -0800
commit168813cb66e94a70331da91df7d83825f08143ee (patch)
tree3442346ba1d042729143eec23574bb19cdea2410
parent2b637f612518576e6ed395e57f1725e5c11f6c41 (diff)
downloadchef-168813cb66e94a70331da91df7d83825f08143ee.tar.gz
Update spellcheck task for new version of cspell.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
-rw-r--r--tasks/spellcheck.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/tasks/spellcheck.rb b/tasks/spellcheck.rb
index 77b450e5d3..0eb8924a81 100644
--- a/tasks/spellcheck.rb
+++ b/tasks/spellcheck.rb
@@ -17,12 +17,7 @@
namespace :spellcheck do
task run: :prereqs do
- sh 'cspell "**/*"'
- end
-
- desc "List the unique unrecognized words in the project."
- task unknown_words: :prereqs do
- sh 'cspell "**/*" --wordsOnly --no-summary | sort | uniq'
+ sh 'cspell lint --no-progress "**/*"'
end
task prereqs: %i{cspell_check config_check fetch_common}