@marcel91200 / caddy Mirror · read-only / commits / e90d7517
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 14, 01:30 UTC

caddyfile: impove fmt warning message (#4444)

Co-authored-by: Francis Lavoie <lavofr@gmail.com>

Runzhi He committed Dec 8, 2021 at 01:03 UTC e90d7517322b8092f3bdad832565a4213cab5a1a
1 file changed +1 -1
caddyconfig/caddyfile/adapter.go
+1 -1
@@ -88,7 +88,7 @@ func formattingDifference(filename string, body []byte) (caddyconfig.Warning, bo
88 return caddyconfig.Warning{
89 File: filename,
90 Line: line,
91 - Message: "input is not formatted with 'caddy fmt'",
91 + Message: "Caddyfile input is not formatted; run the 'caddy fmt' command to fix inconsistencies",
92 }, true
93 }
94