diff options
-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, } |