mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 05:30:54 +03:00
all: Run gofumpt -l -w .
This commit is contained in:
parent
982d9513e7
commit
a795acbcd8
77 changed files with 102 additions and 203 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue