Skip to content

Commit 3009a36

Browse files
Merge pull request #186 from NHSDigital/feature/CCM-17036_Fix_Editor_Config_Checker_Native_Reference
CCM-17036: Fix Editor Config Checker Native Reference
2 parents 6ae325a + 04f7e4c commit 3009a36

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/actions/check-file-format/check-file-format.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function main() {
6868
;;
6969
esac
7070

71-
if command -v editorconfig > /dev/null 2>&1 && ! is-arg-true "${FORCE_USE_DOCKER:-false}"; then
71+
if command -v editorconfig-checker > /dev/null 2>&1 && ! is-arg-true "${FORCE_USE_DOCKER:-false}"; then
7272
filter="$filter" dry_run_opt="${dry_run_opt:-}" run-editorconfig-natively
7373
else
7474
filter="$filter" dry_run_opt="${dry_run_opt:-}" run-editorconfig-in-docker
@@ -90,7 +90,7 @@ function run-editorconfig-natively() {
9090
[[ ${#files[@]} -eq 0 ]] && return 0
9191

9292
# shellcheck disable=SC2086
93-
editorconfig \
93+
editorconfig-checker \
9494
--exclude '.git/' $dry_run_opt "${files[@]}"
9595
}
9696

0 commit comments

Comments
 (0)