Browse Source
caddyfile: impove fmt warning message (#4444)
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
master
Runzhi He
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
caddyconfig/caddyfile/adapter.go
|
@ -88,7 +88,7 @@ func formattingDifference(filename string, body []byte) (caddyconfig.Warning, bo |
|
|
return caddyconfig.Warning{ |
|
|
return caddyconfig.Warning{ |
|
|
File: filename, |
|
|
File: filename, |
|
|
Line: line, |
|
|
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 |
|
|
}, true |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|