Browse Source

caddyfile: impove fmt warning message (#4444)

Co-authored-by: Francis Lavoie <lavofr@gmail.com>
master
Runzhi He 3 years ago
committed by GitHub
parent
commit
e90d751732
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      caddyconfig/caddyfile/adapter.go

2
caddyconfig/caddyfile/adapter.go

@ -88,7 +88,7 @@ func formattingDifference(filename string, body []byte) (caddyconfig.Warning, bo
return caddyconfig.Warning{
File: filename,
Line: line,
Message: "input is not formatted with 'caddy fmt'",
Message: "Caddyfile input is not formatted; run the 'caddy fmt' command to fix inconsistencies",
}, true
}

Loading…
Cancel
Save