Show spellchecker output if spellchecker task fails

This commit is contained in:
Pavel Lobashov 2019-05-24 17:34:53 +03:00
parent 54fa12bd0c
commit 4c4d88f83d
2 changed files with 4 additions and 2 deletions

View file

@ -415,7 +415,6 @@ XlsFormatReader
xlsx xlsx
XLSX XLSX
xps xps
Yandex
youtube youtube
yy yy
yyyy yyyy

View file

@ -17,4 +17,7 @@ jobs:
- npm install -g markdownlint-cli - npm install -g markdownlint-cli
- markdownlint CHANGELOG.md - markdownlint CHANGELOG.md
- stage: spellcheck - stage: spellcheck
script: if [[ $(cat CHANGELOG.md | aspell --lang=en --encoding=utf-8 --personal=./.aspell.en.pws list | wc -l) -ne 0 ]]; then exit 1 ; fi script:
- SPELLCHECK_OUT=$(cat CHANGELOG.md | aspell --lang=en --encoding=utf-8 --personal=./.aspell.en.pws list)
- echo $SPELLCHECK_OUT
- if [[ $(echo $SPELLCHECK_OUT | wc -l) -ne 0 ]]; then exit 1 ; fi