caddyfile: impove fmt warning message (#4444)

Co-authored-by: Francis Lavoie <lavofr@gmail.com>
This commit is contained in:
Runzhi He
2021-12-08 01:03:58 +08:00
committed by GitHub
parent dce81e85d5
commit e90d751732
+1 -1
View File
@@ -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
}