diff options
author | Pete Higgins <pete@peterhiggins.org> | 2020-06-08 17:52:26 -0700 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2020-06-08 17:52:26 -0700 |
commit | fb77309aecf220909bf4117219cb741c32120c07 (patch) | |
tree | 02c99477b6ae1e9ba25a51eb3ceb6830c62daf5a | |
parent | add160cf46ccd374e9278405cef88ca949c519b6 (diff) | |
download | chef-fb77309aecf220909bf4117219cb741c32120c07.tar.gz |
Avoid spellchecking files twice in one run.fail-early-with-cspell-syntax-error
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
-rw-r--r-- | .expeditor/verify_public.pipeline.yml | 2 | ||||
-rw-r--r-- | Rakefile | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.expeditor/verify_public.pipeline.yml b/.expeditor/verify_public.pipeline.yml index 44cb2626c6..ae750546f0 100644 --- a/.expeditor/verify_public.pipeline.yml +++ b/.expeditor/verify_public.pipeline.yml @@ -576,7 +576,7 @@ steps: commands: - ruby -rjson -e "JSON.parse(File.read('cspell.json'))" 2>/dev/null || (echo "Failed to parse config file 'cspell.json', skipping spellcheck" && exit 1) - npm install -g cspell - - cspell "**/*" "*.md" + - cspell "**/*" expeditor: executor: docker: @@ -111,12 +111,12 @@ end namespace :spellcheck do task :run do - sh 'cspell "**/*" "*.md"' + sh 'cspell "**/*"' end desc "List the unique unrecognized words in the project." task :unknown_words do - sh 'cspell "**/*" "*.md" --wordsOnly --no-summary | sort | uniq' + sh 'cspell "**/*" --wordsOnly --no-summary | sort | uniq' end end |