search: fix RuboCop style violation.

This commit is contained in:
Mike McQuaid 2019-04-04 19:49:06 +01:00
parent 86a5b86e2b
commit 825d908d16
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -42,8 +42,8 @@ module Homebrew
filename: query,
extension: "rb",
)
rescue GitHub::Error => error
opoo "Error searching on GitHub: #{error}\n"
rescue GitHub::Error => e
opoo "Error searching on GitHub: #{e}\n"
return results
end