summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorPete Higgins <pete@peterhiggins.org>2020-05-05 15:52:51 -0700
committerTim Smith <tsmith84@gmail.com>2020-05-18 20:29:40 -0700
commitd856f678732b26d0ad13d584412257f6ab7a7493 (patch)
tree4e8c79b6202c7fc4144c7739c1a47ad4895b515f /Rakefile
parentd4c814337d83d852072b78bf172d401ada72a1f2 (diff)
downloadchef-d856f678732b26d0ad13d584412257f6ab7a7493.tar.gz
Fix spellcheck tasks to use cspell globs rather than bash.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index eb39315645..496ae73594 100644
--- a/Rakefile
+++ b/Rakefile
@@ -114,11 +114,11 @@ if `command -v cspell`.empty?
else
namespace :spellcheck do
task :run do
- sh 'cspell **/* *.md'
+ sh 'cspell "**/*" "*.md"'
end
task :unknown_words do
- sh 'cspell **/* *.md --wordsOnly --no-summary | sort | uniq'
+ sh 'cspell "**/*" "*.md" --wordsOnly --no-summary | sort | uniq'
end
end