diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-01-28 22:34:10 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-01-28 23:14:09 +0100 |
commit | a795acbcd8b18aa4af384d5c03f30740361c8fcf (patch) | |
tree | 0dbf7b000681a738b892c5235daf52c63cda88b9 /deploy | |
parent | 982d9513e71b3d48e20cfa38454a0e1215a8d963 (diff) | |
download | hugo-a795acbcd8b18aa4af384d5c03f30740361c8fcf.tar.gz hugo-a795acbcd8b18aa4af384d5c03f30740361c8fcf.zip |
all: Run gofumpt -l -w .
Diffstat (limited to 'deploy')
-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) { |