Browse Source

Merge pull request #39669 from thaJeztah/fix_yamllint_locale

Set locale to fix yamlllint
Kirill Kolyshkin 6 years ago
parent
commit
7a057e7fd2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hack/validate/swagger

+ 1 - 1
hack/validate/swagger

@@ -8,6 +8,6 @@ files=( $(validate_diff --diff-filter=ACMR --name-only -- 'api/swagger.yaml' ||
 unset IFS
 unset IFS
 
 
 if [ ${#files[@]} -gt 0 ]; then
 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
 	swagger validate api/swagger.yaml
 fi
 fi