Simplify HugoNoGitInfo in magefile

This commit is contained in:
Cameron Moore authored and Bjørn Erik Pedersen committed 2017-10-07 14:42:54 +02:00
1 parent 2cc4765670
commit 66a169a249
1 file changed
+2 -2
+2 -2
View File
@@ -69,9 +69,9 @@ func flagEnv() map[string]string {
} }
// Build hugo without git info // Build hugo without git info
func HugoNoGitInfo() { func HugoNoGitInfo() error {
ldflags = noGitLdflags ldflags = noGitLdflags
mg.Deps(Vendor, Hugo) return Hugo()
} }
var docker = sh.RunCmd("docker") var docker = sh.RunCmd("docker")