hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 4c72eb12dca7011a0203e4bfcdb618a9d353cf8c
parent 65e5959bad36a6faa7ff8b9c1b21a2b99c4dacad
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed, 23 Nov 2016 18:55:51 +0100

commands: Simplify

Diffstat:
Mcommands/hugo.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)