From 7b5b18a2b72f51fe8f3ab73d7f3f03e5b41bd731 Mon Sep 17 00:00:00 2001 From: Kelvin Ly Date: Sun, 27 Jan 2019 00:01:32 -0500 Subject: [PATCH] Fix git pull command --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 330b12a..bdd1825 100644 --- a/main.go +++ b/main.go @@ -258,7 +258,7 @@ func startServer(srv *http.Server) { // TODO parse payload pullCmd := exec.Command("git", "pull") - pullCmd.Path = "./static/" + pullCmd.Dir = "./static/" _ = pullCmd.Run() w.Write([]byte("success"))