Skip to content

Commit

Permalink
Fix linter nlreturn
Browse files Browse the repository at this point in the history
  • Loading branch information
KaloyanTanev committed Apr 30, 2024
1 parent 77121a1 commit 88f05ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ func (s testResultError) MarshalText() ([]byte, error) {
if s.error == nil {
return []byte{}, nil
}

return []byte(s.Error()), nil
}

Expand Down

0 comments on commit 88f05ed

Please sign in to comment.