diff options
author | Matthew Penner <me@matthewp.io> | 2021-05-10 12:01:27 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-10 12:01:27 -0600 |
commit | bc2210247861340c644d9825ac2b2860f8c6e12a (patch) | |
tree | b17c0c3b702e635a2524904ae236cd1c4ccd4bc2 /cmd/caddy/setcap.sh | |
parent | f5db41ce1d4bb5ac75489f11985ca46898fb642e (diff) |
caddyfile: Fix `caddy fmt` nesting not decrementing (#4157)
* caddyfile(formatter): fix nesting not decrementing
This is an extremely weird edge-case where if you had a environment variable {}
on one line, a comment on the next line, and the closing of the block on the
following line; the rest of the Caddyfile would be indented further than it
should've been.
ref; https://github.com/matthewpi/vscode-caddyfile-support/issues/13
* run gofmt
* fmt: better way of handling edge case
Diffstat (limited to 'cmd/caddy/setcap.sh')
0 files changed, 0 insertions, 0 deletions