Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0e419c6

Browse files
committed
Added missing part of b03ecab
1 parent 3f9e2f0 commit 0e419c6

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

‎builder_utils/utils.go‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -502,10 +502,6 @@ func PrepareCommandForRecipe(ctx *types.Context, buildProperties properties.Map,
502502
return nil, i18n.WrapError(err)
503503
}
504504

505-
if ctx.Verbose {
506-
logger.UnformattedFprintln(os.Stdout, commandLine)
507-
}
508-
509505
return command, nil
510506
}
511507

‎utils/utils.go‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,9 @@ const (
303303
)
304304

305305
func ExecCommand(ctx *types.Context, command *exec.Cmd, stdout int, stderr int) ([]byte, []byte, error) {
306+
if ctx.Verbose {
307+
ctx.GetLogger().UnformattedFprintln(os.Stdout, PrintableCommand(command.Args))
308+
}
306309

307310
if stdout == Capture {
308311
buffer := &bytes.Buffer{}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /