summaryrefslogtreecommitdiffstats
path: root/commands/commandeer.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/commandeer.go')
-rw-r--r--commands/commandeer.go4
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)
}