Skip to content

Commit

Permalink
[deps] Update rubocop requirement from 1.54.2 to 1.56.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfloyd committed Aug 18, 2023
2 parents cc21117 + 9bbb059 commit 69e3545
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ group :test, :development do
gem 'bundler', '>= 1', '< 3'
gem 'pry-byebug'
gem 'redcarpet'
gem 'rubocop', '1.54.2'
gem 'rubocop', '1.56.0'
end

gemspec
3 changes: 2 additions & 1 deletion lib/octokit/repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ def slug
# @return [String] Repository API path
def path
return named_api_path if @owner && @name
return id_api_path if @id

id_api_path if @id
end

# Get the api path for a repo
Expand Down

0 comments on commit 69e3545

Please sign in to comment.