fix chacj for optional variable
This commit is contained in:
parent
6775e9808d
commit
1e36080524
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user