Skip to content

Commit

Permalink
verbose output improv
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriciojs committed Oct 30, 2023
1 parent 21f8bf5 commit 19e2181
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/shell/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,11 @@ func (s *DefaultShell) Interactive(originalCmd builder.Command, extraArgs ...str

if verbose {
checker := NewTerminalChecker()
fmt.Fprintf(s.ErrStream(), "$ (TTY in: %v out: %v) %s %v\n",
fmt.Fprintf(s.ErrStream(), "$ (TTY in: %v out: %v) %s %s\n",
checker.IsTerminal(cmdptr.in),
checker.IsTerminal(cmdptr.out),
cmdptr.Command.Cmd(),
cmdptr.Command.Args(),
strings.Join(cmdptr.Command.Args(), " "),
)
}

Expand Down

0 comments on commit 19e2181

Please sign in to comment.