diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-11-23 18:55:51 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-11-23 18:55:51 +0100 |
commit | 4c72eb12dca7011a0203e4bfcdb618a9d353cf8c (patch) | |
tree | 8d9fb075154c714f9b482ddf273c42d314a4872d /commands | |
parent | 65e5959bad36a6faa7ff8b9c1b21a2b99c4dacad (diff) |
commands: Simplify
Diffstat (limited to 'commands')
-rw-r--r-- | commands/hugo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/hugo.go b/commands/hugo.go index a36549142..72296fd32 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -317,7 +317,7 @@ func InitializeConfig(subCmdVs ...*cobra.Command) error { } isDir, err := helpers.DirExists(cacheDir, hugofs.Source()) utils.CheckErr(err) - if isDir == false { + if !isDir { mkdir(cacheDir) } viper.Set("cacheDir", cacheDir) |