Skip to content

Commit

Permalink
fix(internal/executor): enclose gcflags
Browse files Browse the repository at this point in the history
Signed-off-by: Massimiliano Giovagnoli <[email protected]>
  • Loading branch information
maxgio92 committed Dec 6, 2024
1 parent 965ef56 commit 42bdf8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/executor/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func Build(packagePath, outputFile string) (string, error) {
cmd := exec.Command(
"go",
"test",
"-gcflags=-N -l", // disable optimization
`-gcflags="-N -l"`, // disable optimization
"-c", packagePath, // build test binary
"-o", outputFile, // save it in a dedicated directory
)
Expand Down

0 comments on commit 42bdf8e

Please sign in to comment.