Apply Rubocop Performance/RedundantBlockCall (#23440)

This commit is contained in:
Nick Schonning
2023-02-07 18:58:18 -05:00
committed by GitHub
parent f31d9a590d
commit cec005068f
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ class Import::RelationshipWorker
.with_error_handler { |error, handle| error.is_a?(HTTP::Error) || error.is_a?(OpenSSL::SSL::SSLError) ? handle.call(error) : raise(error) }
.run
else
block.call
yield
end
end
end