From 1cc2e64e5cc8ade94cec7e39b4c372033747834e Mon Sep 17 00:00:00 2001 From: alessio Date: Mon, 5 Sep 2016 20:11:45 +0200 Subject: [PATCH] quotes removed from the after/before commands --- cli/exec.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/exec.go b/cli/exec.go index 4598f56..29cbfa8 100644 --- a/cli/exec.go +++ b/cli/exec.go @@ -139,6 +139,7 @@ func (p *Project) GoTest(path string) (io.Writer, error) { // Cmd exec a list of defined commands func (p *Project) Cmd(cmds []string) (errors []error) { for _, cmd := range cmds { + cmd := strings.Replace(strings.Replace(cmd, "'", "", -1), "\"", "", -1) c := strings.Split(cmd, " ") build := exec.Command(c[0], c[1:]...) build.Dir = p.base