summaryrefslogtreecommitdiffhomepage
path: root/magefile.go
diff options
context:
space:
mode:
Diffstat (limited to 'magefile.go')
-rw-r--r--magefile.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/magefile.go b/magefile.go
index 39ab60a1e..6d5572232 100644
--- a/magefile.go
+++ b/magefile.go
@@ -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")