Skip to content

Commit

Permalink
Simplify code (#356)
Browse files Browse the repository at this point in the history
Use simpler string concatenation.
  • Loading branch information
muesli authored and Andrea Nodari committed Jul 21, 2019
1 parent 0d9100e commit 0001ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gexec/build.go
Expand Up @@ -68,7 +68,7 @@ func doBuild(gopath, packagePath string, env []string, args ...string) (compiled

executable := filepath.Join(tmpDir, path.Base(packagePath))
if runtime.GOOS == "windows" {
executable = executable + ".exe"
executable += ".exe"
}

cmdArgs := append([]string{"build"}, args...)
Expand Down

0 comments on commit 0001ed9

Please sign in to comment.