summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunzhi He <46741383+12f23eddde@users.noreply.github.com>2021-12-08 01:03:58 +0800
committerGitHub <noreply@github.com>2021-12-07 10:03:58 -0700
commite90d7517322b8092f3bdad832565a4213cab5a1a (patch)
tree93a9a072db1b7854f9678e75a55184e4f0965765
parentdce81e85d5dad5f3610f775a0d29544b6b1d2b61 (diff)
caddyfile: impove fmt warning message (#4444)
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
-rw-r--r--caddyconfig/caddyfile/adapter.go2
1 files changed, 1 insertions, 1 deletions
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
}