From 1e36080524f9b4d804772974f5f07349d5ab123f Mon Sep 17 00:00:00 2001 From: Petr Korolev Date: Tue, 4 Nov 2014 17:32:07 +0200 Subject: [PATCH] fix chacj for optional variable --- changelog_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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