From: bep Date: Wed, 11 Feb 2015 23:09:04 +0000 (+0100) Subject: Remove now superfluous conditional X-Git-Tag: v0.13~45 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1217632307da183ec1e8bb710fb1ab1c570b324f;p=brevno-suite%2Fhugo Remove now superfluous conditional --- diff --git a/commands/hugo.go b/commands/hugo.go index 747a4b40..d789820f 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -258,11 +258,9 @@ func copyStatic() error { return nil } - if themeDir != "" { - // Copy Static to Destination - jww.INFO.Println("syncing from", themeDir, "to", publishDir) - utils.CheckErr(syncer.Sync(publishDir, themeDir), fmt.Sprintf("Error copying static files of theme to %s", publishDir)) - } + // Copy Static to Destination + jww.INFO.Println("syncing from", themeDir, "to", publishDir) + utils.CheckErr(syncer.Sync(publishDir, themeDir), fmt.Sprintf("Error copying static files of theme to %s", publishDir)) // Copy Static to Destination jww.INFO.Println("syncing from", staticDir, "to", publishDir)