From 42bdf8ed7cbef0b5c449bdee4c074a72e263a93d Mon Sep 17 00:00:00 2001 From: Massimiliano Giovagnoli Date: Fri, 6 Dec 2024 21:21:35 +0100 Subject: [PATCH] fix(internal/executor): enclose gcflags Signed-off-by: Massimiliano Giovagnoli --- internal/executor/exec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/executor/exec.go b/internal/executor/exec.go index 400d014..0003a82 100644 --- a/internal/executor/exec.go +++ b/internal/executor/exec.go @@ -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 )