ref: 1217632307da183ec1e8bb710fb1ab1c570b324f
parent: 8ed67169edb5c9c01bf190c629ec2f0c93102b78
author: bep <bjorn.erik.pedersen@gmail.com>
date: Wed Feb 11 19:09:04 EST 2015
Remove now superfluous conditional
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -258,11 +258,9 @@
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)
--
⑨