Skip to content

Commit eb8977b

Browse files
committed
fix hound style
1 parent c7d8802 commit eb8977b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/fcm/connection.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,7 @@ def build_not_registered_ids(body, registration_id)
100100
return not_registered_ids if body.empty?
101101
if body['failure'].positive?
102102
body['results'].each_with_index do |result, index|
103-
if not_registered?(result)
104-
not_registered_ids << registration_id[index]
105-
end
103+
not_registered_ids << registration_id[index] if not_registered?(result)
106104
end
107105
end
108106
not_registered_ids

0 commit comments

Comments
 (0)