We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d4214f commit 266db5eCopy full SHA for 266db5e
tools/git/hooks/pre-commit
@@ -143,7 +143,8 @@ run_lint() {
143
fi
144
# Lint against EditorConfig:
145
if [[ -z "${skip_editorconfig}" ]]; then
146
- make FILES="${changed_files}" lint-editorconfig-files > /dev/null >&2
+ files=$(echo "${changed_files}" | tr '\n' ' ')
147
+ make FILES="${files}" lint-editorconfig-files > /dev/null >&2
148
if [[ "$?" -ne 0 ]]; then
149
echo '' >&2
150
echo 'EditorConfig lint errors.' >&2
0 commit comments