mirror of
https://github.com/caddyserver/caddy.git
synced 2026-01-16 17:20:34 +00:00
ci: Use gofumpt to format code (#5707)
This commit is contained in:
@@ -131,7 +131,8 @@ func (r *Replacer) ReplaceFunc(input string, f ReplacementFunc) (string, error)
|
||||
|
||||
func (r *Replacer) replace(input, empty string,
|
||||
treatUnknownAsEmpty, errOnEmpty, errOnUnknown bool,
|
||||
f ReplacementFunc) (string, error) {
|
||||
f ReplacementFunc,
|
||||
) (string, error) {
|
||||
if !strings.Contains(input, string(phOpen)) {
|
||||
return input, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user