diff options
author | pseudometa <73286100+chrisgrieser@users.noreply.github.com> | 2023-10-13 17:39:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-13 08:39:29 -0700 |
commit | 64a89568925c3f62b7ecdcf60b612001d2749eb1 (patch) | |
tree | 6030be4f06a561f73fe1c4a5fe89c4f88b420ecd | |
parent | 4db76a68b47aa6e9777e4da4aed16f0fff74920e (diff) |
fix(shellcheck): support filenames with spaces (#135)
-rw-r--r-- | lua/conform/formatters/shellcheck.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/conform/formatters/shellcheck.lua b/lua/conform/formatters/shellcheck.lua index 3ceb7a5..f478d52 100644 --- a/lua/conform/formatters/shellcheck.lua +++ b/lua/conform/formatters/shellcheck.lua @@ -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, } |