diff --git a/.github/actions/check-file-format/check-file-format.sh b/.github/actions/check-file-format/check-file-format.sh index 8c229c1..9581df0 100755 --- a/.github/actions/check-file-format/check-file-format.sh +++ b/.github/actions/check-file-format/check-file-format.sh @@ -68,7 +68,7 @@ function main() { ;; esac - if command -v editorconfig > /dev/null 2>&1 && ! is-arg-true "${FORCE_USE_DOCKER:-false}"; then + if command -v editorconfig-checker > /dev/null 2>&1 && ! is-arg-true "${FORCE_USE_DOCKER:-false}"; then filter="$filter" dry_run_opt="${dry_run_opt:-}" run-editorconfig-natively else filter="$filter" dry_run_opt="${dry_run_opt:-}" run-editorconfig-in-docker @@ -90,7 +90,7 @@ function run-editorconfig-natively() { [[ ${#files[@]} -eq 0 ]] && return 0 # shellcheck disable=SC2086 - editorconfig \ + editorconfig-checker \ --exclude '.git/' $dry_run_opt "${files[@]}" }