We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8c9618 commit c1a3751Copy full SHA for c1a3751
scripts/githooks/check-file-format.sh
@@ -75,10 +75,12 @@ function main-invocation() {
75
esac
76
77
if command -v editorconfig > /dev/null 2>&1 && ! is-arg-true "${FORCE_USE_DOCKER:-false}"; then
78
- filter="$filter" dry_run_opt="${dry_run_opt:-}" scripts/githooks/check-file-format.sh --natively
+ method=--natively
79
else
80
- filter="$filter" dry_run_opt="${dry_run_opt:-}" scripts/githooks/check-file-format.sh --via-docker
+ method=--via-docker
81
fi
82
+
83
+ filter="$filter" dry_run_opt="${dry_run_opt:-}" scripts/githooks/check-file-format.sh "$method"
84
}
85
86
# Run editorconfig natively.
0 commit comments