diff options
author | Tim Smith <tsmith@chef.io> | 2020-12-28 17:08:17 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-28 17:08:17 -0800 |
commit | 7f8ff41e3b5bc7838a90735b97db8870b7d695cf (patch) | |
tree | ce349e1013bb80ce6bc856825ddf32546c23d34d | |
parent | a45ee0adc7ea5e498fd411f8ba3a279111bc87f5 (diff) | |
parent | 0ab16bbd20f3d147e8a019bc7ce0920024fe0bdf (diff) | |
download | chef-7f8ff41e3b5bc7838a90735b97db8870b7d695cf.tar.gz |
Merge pull request #10784 from chef/update-spellcheck-task
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | tasks/spellcheck.rb | 7 |
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} |