Merge pull request #561 from github/fixEBug

smallFix on editorconfig
This commit is contained in:
Lukas Gravley 2020-08-13 12:18:37 -05:00 committed by GitHub
commit 72ff27c00e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -439,8 +439,8 @@ GetLinterVersions() {
if [[ ${LINTER} == "arm-ttk" ]]; then if [[ ${LINTER} == "arm-ttk" ]]; then
# Need specific command for ARM # Need specific command for ARM
mapfile -t GET_VERSION_CMD < <(grep -iE 'version' "${ARM_TTK_PSD1}" | xargs 2>&1) mapfile -t GET_VERSION_CMD < <(grep -iE 'version' "${ARM_TTK_PSD1}" | xargs 2>&1)
elif [[ ${LINTER} == "protolint" ]]; then elif [[ ${LINTER} == "protolint" ]] || [[ ${LINTER} == "editorconfig-checker" ]]; then
# Need specific command for Protolint # Need specific command for Protolint and editorconfig-checker
mapfile -t GET_VERSION_CMD < <(echo "--version not supported") mapfile -t GET_VERSION_CMD < <(echo "--version not supported")
else else
# Standard version command # Standard version command