summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorPete Higgins <pete@peterhiggins.org>2020-12-28 16:41:29 -0800
committerPete Higgins <pete@peterhiggins.org>2020-12-28 16:41:29 -0800
commit0ab16bbd20f3d147e8a019bc7ce0920024fe0bdf (patch)
treeee66e6a8e6263530c990ab57983b11a21977b858 /tasks
parent1de3e9e5a46565db1a3aa434f61d6e16a2dc50a4 (diff)
downloadchef-0ab16bbd20f3d147e8a019bc7ce0920024fe0bdf.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.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}