Skip to content

Commit 56b286b

Browse files
committed
Fix: Do not return full env map after downloading releases
Signed-off-by: Daishan Peng <[email protected]>
1 parent 92308bd commit 56b286b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pkg/repos/runtimes/golang/golang.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ func (r *Runtime) Binary(ctx context.Context, tool types.Tool, _, toolSource str
264264
return false, nil, nil
265265
}
266266

267-
return true, env, nil
267+
return true, nil, nil
268268
}
269269

270270
func (r *Runtime) Setup(ctx context.Context, _ types.Tool, dataRoot, toolSource string, env []string) ([]string, error) {

0 commit comments

Comments
 (0)