fix chacj for optional variable

This commit is contained in:
Petr Korolev 2014-11-04 17:32:07 +02:00
parent 6775e9808d
commit 1e36080524

View File

@ -38,7 +38,7 @@ end
def getAllClosedPullRequests def getAllClosedPullRequests
if @oauth_token.length if @oauth_token
github = Github.new oauth_token: @oauth_token github = Github.new oauth_token: @oauth_token
else else
github = Github.new github = Github.new