diff options
author | Bjørn Erik Pedersen <[email protected]> | 2018-07-22 00:34:17 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2018-07-22 00:35:09 +0200 |
commit | 062510cf1f7b79aed2efe88c5b9340d009bdec0e (patch) | |
tree | f12574dd3bea39ec02986564a8a34ec5f706cd47 /commands/commandeer.go | |
parent | 4e1d0cd9f1d43d133d669a019a84117cadd41955 (diff) | |
download | hugo-062510cf1f7b79aed2efe88c5b9340d009bdec0e.tar.gz hugo-062510cf1f7b79aed2efe88c5b9340d009bdec0e.zip |
Get rid of the utils package
Diffstat (limited to 'commands/commandeer.go')
-rw-r--r-- | commands/commandeer.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/commands/commandeer.go b/commands/commandeer.go index 051787f6e..3ff0b6426 100644 --- a/commands/commandeer.go +++ b/commands/commandeer.go @@ -24,8 +24,6 @@ import ( "github.com/spf13/cobra" - "github.com/gohugoio/hugo/utils" - "github.com/spf13/afero" "github.com/gohugoio/hugo/hugolib" @@ -308,7 +306,7 @@ func (c *commandeer) loadConfig(mustHaveConfigFile, running bool) error { cacheDir = cacheDir + helpers.FilePathSeparator } isDir, err := helpers.DirExists(cacheDir, sourceFs) - utils.CheckErr(cfg.Logger, err) + checkErr(cfg.Logger, err) if !isDir { mkdir(cacheDir) } |