diff options
| author | Tej Chajed <tchajed@gmail.com> | 2025-12-01 17:48:16 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-01 15:48:16 -0800 |
| commit | 35ebd1b65291483fded1cb939cccfe28c9116782 (patch) | |
| tree | 6e2e408b4ad76421c105aefe3fd194fb895df3da /test/formatters | |
| parent | 436cd94b3e01c8c4314645417ce40b1acdb5d2cb (diff) | |
Fix shfmt when used with apheleia-formatters-respect-indent-level (#379)
The shfmt formatter produced an invalid command invocation. The symptom
was an error: `eval: Invalid function: "-i"`
I couldn't figure out how to splice the list in correctly but
`--indent=` can be passed as one argument.
---------
Co-authored-by: Radon Rosborough <radon@intuitiveexplanations.com>
Diffstat (limited to 'test/formatters')
| -rw-r--r-- | test/formatters/samplecode/shfmt/out.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/formatters/samplecode/shfmt/out.bash b/test/formatters/samplecode/shfmt/out.bash index 879aa94..a5903da 100644 --- a/test/formatters/samplecode/shfmt/out.bash +++ b/test/formatters/samplecode/shfmt/out.bash @@ -1,3 +1,3 @@ function f() { - thing + thing } |
