Skip to content

Commit

Permalink
Code style updates
Browse files Browse the repository at this point in the history
  • Loading branch information
godrei committed Dec 1, 2022
1 parent 7a22706 commit d8a86a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions log/logwriter/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func (w LogWriter) Write(p []byte) (n int, err error) {
if len(p) == 0 {
return 0, nil
}

level, message := convertColoredString(string(p))
w.logger.LogMessage(message, level)
return len(p), nil
Expand Down
5 changes: 2 additions & 3 deletions log/logwriter/writer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ import (
"testing"
"time"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/bitrise-io/bitrise/log"
"github.com/bitrise-io/bitrise/log/logwriter"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

func referenceTime() time.Time {
Expand Down

0 comments on commit d8a86a3

Please sign in to comment.