diff options
author | Pete Higgins <pete@peterhiggins.org> | 2020-12-28 16:41:29 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-12-30 11:43:45 -0800 |
commit | 168813cb66e94a70331da91df7d83825f08143ee (patch) | |
tree | 3442346ba1d042729143eec23574bb19cdea2410 /tasks | |
parent | 2b637f612518576e6ed395e57f1725e5c11f6c41 (diff) | |
download | chef-168813cb66e94a70331da91df7d83825f08143ee.tar.gz |
Update spellcheck task for new version of cspell.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
Diffstat (limited to 'tasks')
-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} |