Merge pull request #39669 from thaJeztah/fix_yamllint_locale

Set locale to fix yamlllint
This commit is contained in:
Kirill Kolyshkin 2019-08-07 12:40:41 -07:00 committed by GitHub
commit 7a057e7fd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,6 @@ files=( $(validate_diff --diff-filter=ACMR --name-only -- 'api/swagger.yaml' ||
unset IFS
if [ ${#files[@]} -gt 0 ]; then
yamllint -c ${SCRIPTDIR}/.swagger-yamllint api/swagger.yaml
LANG=C.UTF-8 yamllint -c ${SCRIPTDIR}/.swagger-yamllint api/swagger.yaml
swagger validate api/swagger.yaml
fi