mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-09 13:36:56 +02:00
parent
789a4d45fe
commit
8752504b81
@ -48,7 +48,7 @@ func runCommand(ctx *context.Context, dir, binary string, args ...string) error
|
|||||||
/* #nosec */
|
/* #nosec */
|
||||||
cmd := exec.CommandContext(ctx, binary, args...)
|
cmd := exec.CommandContext(ctx, binary, args...)
|
||||||
cmd.Dir = dir
|
cmd.Dir = dir
|
||||||
cmd.Env = append(cmd.Env, ctx.Env.Strings()...)
|
cmd.Env = append(ctx.Env.Strings(), cmd.Env...)
|
||||||
|
|
||||||
var b bytes.Buffer
|
var b bytes.Buffer
|
||||||
w := gio.Safe(&b)
|
w := gio.Safe(&b)
|
||||||
@ -69,7 +69,7 @@ func runCommandWithOutput(ctx *context.Context, dir, binary string, args ...stri
|
|||||||
/* #nosec */
|
/* #nosec */
|
||||||
cmd := exec.CommandContext(ctx, binary, args...)
|
cmd := exec.CommandContext(ctx, binary, args...)
|
||||||
cmd.Dir = dir
|
cmd.Dir = dir
|
||||||
cmd.Env = append(cmd.Env, ctx.Env.Strings()...)
|
cmd.Env = append(ctx.Env.Strings(), cmd.Env...)
|
||||||
|
|
||||||
var b bytes.Buffer
|
var b bytes.Buffer
|
||||||
w := gio.Safe(&b)
|
w := gio.Safe(&b)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user