From f8ce9d7c643b1a16ae5ac566eae442eaefce4075 Mon Sep 17 00:00:00 2001 From: asoseil Date: Fri, 15 Dec 2017 15:40:35 +0100 Subject: [PATCH] args merged --- realize/tools.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/realize/tools.go b/realize/tools.go index 35e71df..bbefa9c 100644 --- a/realize/tools.go +++ b/realize/tools.go @@ -98,9 +98,9 @@ func (t *Tool) Exec(path string, stop <-chan bool) (response Response) { } else if !strings.HasSuffix(path, ".go") { return } - args := []string{} + args := t.Args if strings.HasSuffix(path, ".go") { - args = append(t.Args, path) + args = append(args, path) path = filepath.Dir(path) } if s := ext(path); s == "" || s == "go" {