Skip to content

Commit

Permalink
fix(shellcheck): support filenames with spaces (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser authored Oct 13, 2023
1 parent 4db76a6 commit 64a8956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/conform/formatters/shellcheck.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ return {
description = "A static analysis tool for shell scripts.",
},
command = "shellcheck",
args = "$FILENAME --format=diff | patch -p1 $FILENAME",
args = "'$FILENAME' --format=diff | patch -p1 '$FILENAME'",
stdin = false,
}

0 comments on commit 64a8956

Please sign in to comment.