diff --git a/changelog_generator.rb b/changelog_generator.rb index c225783..7fd8ac3 100755 --- a/changelog_generator.rb +++ b/changelog_generator.rb @@ -38,7 +38,7 @@ end def getAllClosedPullRequests - if @oauth_token.length + if @oauth_token github = Github.new oauth_token: @oauth_token else github = Github.new