Skip to content

Commit

Permalink
fix: update to fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
k-capehart committed Aug 5, 2024
1 parent 05b0e90 commit 79253d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion salesforce_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,9 @@ func Test_processSalesforceError(t *testing.T) {
if err != nil {
panic(err)
}
w.Write(body)
if _, err := w.Write(body); err != nil {
panic(err)
}
} else {
w.WriteHeader(http.StatusBadRequest)
}
Expand Down

0 comments on commit 79253d6

Please sign in to comment.