Show spellchecker output if spellchecker task fails
This commit is contained in:
parent
54fa12bd0c
commit
4c4d88f83d
|
|
@ -415,7 +415,6 @@ XlsFormatReader
|
||||||
xlsx
|
xlsx
|
||||||
XLSX
|
XLSX
|
||||||
xps
|
xps
|
||||||
Yandex
|
|
||||||
youtube
|
youtube
|
||||||
yy
|
yy
|
||||||
yyyy
|
yyyy
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue