You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're getting a couple false positives on checking the return value from 'save' where we clearly are checking it.
The case where the result is assigned to something, and then checked later:
saved=begin@thing.saverescueSomeOtherError=>e
...
endifsaved
...
end
The case where the result is checked via an aggregate of some sort:
# any? { ... } may also trigger it but haven't tested, I'm just including it the way I found it in our code,if@things.map{ |thing| !thing.save}.any?
...
end
The text was updated successfully, but these errors were encountered:
We're getting a couple false positives on checking the return value from 'save' where we clearly are checking it.
The text was updated successfully, but these errors were encountered: