Skip to content

Commit

Permalink
logging: debug log correct compile command
Browse files Browse the repository at this point in the history
  • Loading branch information
justenwalker committed Mar 28, 2021
1 parent 0368f08 commit 59ae06c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/command/goodwill.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func compileGoFiles(files []string, flg flags, out string) error {
args = append(args, "-tags=goodwill", "-o", out)
args = append(args, files...)
cmd := exec.Command(flg.GoCmd, args...)
debug.Println("running", cmd, strings.Join(cmd.Args, " "))
debug.Println("running", cmd.Path, strings.Join(cmd.Args[1:], " "))
debug.Printf("GOOS=%s, GOARCH=%s", flg.OS, flg.Arch)
cmd.Env = GoEnv(flg.OS, flg.Arch)
cmd.Dir = flg.Dir
Expand Down

0 comments on commit 59ae06c

Please sign in to comment.