Sfoglia il codice sorgente

Merge pull request #39669 from thaJeztah/fix_yamllint_locale

Set locale to fix yamlllint
Kirill Kolyshkin 6 anni fa
parent
commit
7a057e7fd2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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
 
 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