Skip to content

Commit 2725838

Browse files
committed
unquote path
1 parent 7a98aa5 commit 2725838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gen.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func loadPackage(path string, buildFirst bool, buildTags string) (*packages.Pack
9797
buildTagStr := fmt.Sprintf("\"%s\"", strings.Join(strings.Split(buildTags, ","), " "))
9898
args = append(args, "-tags", buildTagStr)
9999
}
100-
args = append(args, "-v", "path")
100+
args = append(args, "-v", path)
101101
fmt.Printf("go %v\n", strings.Join(args, " "))
102102
cmd := exec.Command("go", args...)
103103
cmd.Stdin = os.Stdin

0 commit comments

Comments
 (0)