From e90d7517322b8092f3bdad832565a4213cab5a1a Mon Sep 17 00:00:00 2001 From: Runzhi He <46741383+12f23eddde@users.noreply.github.com> Date: Wed, 8 Dec 2021 01:03:58 +0800 Subject: caddyfile: impove fmt warning message (#4444) Co-authored-by: Francis Lavoie --- caddyconfig/caddyfile/adapter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'caddyconfig/caddyfile') diff --git a/caddyconfig/caddyfile/adapter.go b/caddyconfig/caddyfile/adapter.go index 5b80df3..55d7253 100644 --- a/caddyconfig/caddyfile/adapter.go +++ b/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 } -- cgit v1.2.3