Permalink
Browse files

Simplify HugoNoGitInfo in magefile

  • Loading branch information...
moorereason authored and bep committed Oct 5, 2017
1 parent 2cc4765 commit 66a169a24967681dbf91dad6e1f9fd5dd624d95e
Showing with 2 additions and 2 deletions.
  1. +2 −2 magefile.go
View
@@ -69,9 +69,9 @@ func flagEnv() map[string]string {
}
// Build hugo without git info
func HugoNoGitInfo() {
func HugoNoGitInfo() error {
ldflags = noGitLdflags
mg.Deps(Vendor, Hugo)
return Hugo()
}
var docker = sh.RunCmd("docker")

0 comments on commit 66a169a

Please sign in to comment.