diff options
Diffstat (limited to 'deploy/deployConfig.go')
-rw-r--r-- | deploy/deployConfig.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/deploy/deployConfig.go b/deploy/deployConfig.go index 3cd5dc3a8..f9454b3e4 100644 --- a/deploy/deployConfig.go +++ b/deploy/deployConfig.go @@ -14,11 +14,10 @@ package deploy import ( + "errors" "fmt" "regexp" - "errors" - "github.com/gobwas/glob" "github.com/gohugoio/hugo/config" hglob "github.com/gohugoio/hugo/hugofs/glob" @@ -132,7 +131,6 @@ var DefaultConfig = DeployConfig{ // DecodeConfig creates a config from a given Hugo configuration. func DecodeConfig(cfg config.Provider) (DeployConfig, error) { - dcfg := DefaultConfig if !cfg.IsSet(deploymentConfigKey) { |