Skip to content

Commit 67b016d

Browse files
committed
Fix
Signed-off-by: Kevin Zhang <[email protected]>
1 parent aa312c1 commit 67b016d

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
@@ -94,7 +94,7 @@ func loadPackage(path string, buildFirst bool, buildTags string) (*packages.Pack
9494
if buildFirst {
9595
args := []string{"build", "-v", "path"}
9696
if buildTags != "" {
97-
buildTagStr := fmt.Sprintf("\"%s\"", strings.Join(strings.Split(buildTags, ","), ""))
97+
buildTagStr := fmt.Sprintf("\"%s\"", strings.Join(strings.Split(buildTags, ","), " "))
9898
args = append(args, "-tags", buildTagStr)
9999
}
100100
fmt.Printf("go %v\n", strings.Join(args, " "))

0 commit comments

Comments
 (0)