summaryrefslogtreecommitdiffhomepage
path: root/caddyconfig
diff options
context:
space:
mode:
authorMohammed Al Sahaf <[email protected]>2024-04-25 00:17:23 +0300
committerGitHub <[email protected]>2024-04-24 15:17:23 -0600
commitc6eb186064091c79f46d03fd0fc5c233c686566f (patch)
treef5692550406dec620c48286a33bf40061aa8e4a5 /caddyconfig
parent76c4cf5a56b4ee576001e649e72d6e7fdf730364 (diff)
downloadcaddy-c6eb186064091c79f46d03fd0fc5c233c686566f.tar.gz
caddy-c6eb186064091c79f46d03fd0fc5c233c686566f.zip
run `golangci-lint run --fix --fast` (#6270)
Diffstat (limited to 'caddyconfig')
-rw-r--r--caddyconfig/caddyfile/parse.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/caddyconfig/caddyfile/parse.go b/caddyconfig/caddyfile/parse.go
index cdb9a7619..a865b70df 100644
--- a/caddyconfig/caddyfile/parse.go
+++ b/caddyconfig/caddyfile/parse.go
@@ -395,7 +395,6 @@ func (p *parser) doImport(nesting int) error {
return p.Errf("Glob pattern may only contain one wildcard (*), but has others: %s", globPattern)
}
matches, err = filepath.Glob(globPattern)
-
if err != nil {
return p.Errf("Failed to use import pattern %s: %v", importPattern, err)
}