Skip to content

Commit

Permalink
Fix typos in StreamOutErr error messages. (bazelbuild#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwkimmel authored Sep 19, 2023
1 parent cd916d4 commit aa1c266
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/pkg/outerr/outerr.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ var SystemOutErr = NewStreamOutErr(os.Stdout, os.Stderr)
// WriteOut writes the given bytes to stdout.
func (s *StreamOutErr) WriteOut(buf []byte) {
if _, e := s.OutWriter.Write(buf); e != nil {
log.Errorf("error writing to stdout stream: %v", e)
log.Errorf("Error writing to stdout stream: %v", e)
}
}

// WriteErr writes the given bytes to stderr.
func (s *StreamOutErr) WriteErr(buf []byte) {
if _, e := s.ErrWriter.Write(buf); e != nil {
log.Errorf("error writing to stdout stream: %v", e)
log.Errorf("Error writing to stderr stream: %v", e)
}
}

Expand Down

0 comments on commit aa1c266

Please sign in to comment.