diff options
author | Tim Smith <tsmith@chef.io> | 2020-06-09 19:02:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-09 19:02:04 -0700 |
commit | 4be3d8d01e9b757444d8e374ac0a541a68f75dab (patch) | |
tree | 281ec281fc8c83befab4ea6bb72252df79e446a6 /.expeditor | |
parent | cbc776de43ebfb3a2cf4a29cf41cc80782a9e80a (diff) | |
parent | fb77309aecf220909bf4117219cb741c32120c07 (diff) | |
download | chef-4be3d8d01e9b757444d8e374ac0a541a68f75dab.tar.gz |
Merge pull request #9969 from chef/fail-early-with-cspell-syntax-error
Nicer error for misconfigured spellcheck in CI
Diffstat (limited to '.expeditor')
-rw-r--r-- | .expeditor/verify_public.pipeline.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.expeditor/verify_public.pipeline.yml b/.expeditor/verify_public.pipeline.yml index b88e92a6bc..ae750546f0 100644 --- a/.expeditor/verify_public.pipeline.yml +++ b/.expeditor/verify_public.pipeline.yml @@ -574,8 +574,9 @@ steps: - label: "Spellcheck" 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: |