Skip to content

Commit 9fea097

Browse files
committed
remove ! from select function
1 parent a567c0d commit 9fea097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/embulk/output/bigquery/google_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def with_network_retry(&block)
5050
begin
5151
yield
5252
rescue ::Java::Java.net.SocketException, ::Java::Java.net.ConnectException => e
53-
if ['Broken pipe', 'Connection reset', 'Connection timed out'].select! { |x| e.message.include?(x) }.empty?
53+
if ['Broken pipe', 'Connection reset', 'Connection timed out'].select { |x| e.message.include?(x) }.empty?
5454
raise e
5555
else
5656
if retries < @task['retries']

0 commit comments

Comments
 (0)