Skip to content

Commit

Permalink
disable Metrics/CyclomaticComplexity check
Browse files Browse the repository at this point in the history
  • Loading branch information
alejndr0 committed Jun 10, 2024
1 parent 2a79e2c commit 9ed27c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/octokit/error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class Error < StandardError
#
# @param [Hash] response HTTP response
# @return [Octokit::Error]
# rubocop:disable Metrics/CyclomaticComplexity
def self.from_response(response)
status = response[:status].to_i
body = response[:body].to_s
Expand Down

0 comments on commit 9ed27c6

Please sign in to comment.