Skip to content

Commit

Permalink
Typo in sh.OutputWith documentation (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntrrg authored and natefinch committed Dec 12, 2018
1 parent 64997ca commit 6b5776c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sh/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func Output(cmd string, args ...string) (string, error) {
return strings.TrimSuffix(buf.String(), "\n"), err
}

// OutputWith is like RunWith, ubt returns what is written to stdout.
// OutputWith is like RunWith, but returns what is written to stdout.
func OutputWith(env map[string]string, cmd string, args ...string) (string, error) {
buf := &bytes.Buffer{}
_, err := Exec(env, buf, os.Stderr, cmd, args...)
Expand Down

0 comments on commit 6b5776c

Please sign in to comment.