Commit 1574832
authored
Fix shfmt config to disable Bash code simplification (#411)
I'm @ormandi's colleague and was following #409. It seems the formatter
wanting to remove quotes is due to Trunk by default using the `-s` flag
for `shfmt` to simplify code. Either there is a bug in `shfmt` that
makes it overly aggressive in removing quotes or what it's doing is
actually correct, but I'm not enough of a shell expert to tell.
This PR sidesteps the issue by customizes the Trunk config to avoid
passing `-s`.1 parent 28be57c commit 1574832
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
47 | 59 | | |
48 | 60 | | |
49 | 61 | | |
| |||
0 commit comments