Commit 1a761207 authored by Toby Allen's avatar Toby Allen

remove whitespace

parent 5072d70f
...@@ -55,12 +55,10 @@ func init() { ...@@ -55,12 +55,10 @@ func init() {
func hideCaddyfile(cctx caddy.Context) error { func hideCaddyfile(cctx caddy.Context) error {
ctx := cctx.(*httpContext) ctx := cctx.(*httpContext)
for _, cfg := range ctx.siteConfigs { for _, cfg := range ctx.siteConfigs {
// if no Caddyfile exists exit. // if no Caddyfile exists exit.
if cfg.originCaddyfile == "" { if cfg.originCaddyfile == "" {
return nil return nil
} }
absRoot, err := filepath.Abs(cfg.Root) absRoot, err := filepath.Abs(cfg.Root)
if err != nil { if err != nil {
return err return err
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment