Skip to content

Commit

Permalink
caddyfile: impove fmt warning message (#4444)
Browse files Browse the repository at this point in the history
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
  • Loading branch information
hrz6976 and francislavoie committed Dec 7, 2021
1 parent dce81e8 commit e90d751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caddyconfig/caddyfile/adapter.go
Expand Up @@ -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
}

Expand Down

0 comments on commit e90d751

Please sign in to comment.