From 2725838e76b6964996aa640b3093d33852b98305 Mon Sep 17 00:00:00 2001 From: mlange-42 Date: Thu, 2 Feb 2023 13:32:38 +0100 Subject: [PATCH] unquote path --- gen.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen.go b/gen.go index 5eeb6ca..377f619 100644 --- a/gen.go +++ b/gen.go @@ -97,7 +97,7 @@ func loadPackage(path string, buildFirst bool, buildTags string) (*packages.Pack buildTagStr := fmt.Sprintf("\"%s\"", strings.Join(strings.Split(buildTags, ","), " ")) args = append(args, "-tags", buildTagStr) } - args = append(args, "-v", "path") + args = append(args, "-v", path) fmt.Printf("go %v\n", strings.Join(args, " ")) cmd := exec.Command("go", args...) cmd.Stdin = os.Stdin