Skip to content

Commit

Permalink
Thank you, unit tests!
Browse files Browse the repository at this point in the history
  • Loading branch information
bobg committed May 11, 2023
1 parent cd6708a commit 5a955ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command.go
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,8 @@ func (c commandYAML) toTarget(con *Controller, shell, dir string, args, env []st

default:
result.StderrFile = con.JoinPath(dir, c.Stderr)
if forceAppend && !strings.HasPrefix(result.StdoutFile, ">>") {
result.StdoutFile = ">>" + result.StdoutFile
if forceAppend && !strings.HasPrefix(result.StderrFile, ">>") {
result.StderrFile = ">>" + result.StderrFile
}
}

Expand Down

0 comments on commit 5a955ab

Please sign in to comment.