Skip to content

Commit

Permalink
fix(ChangeLog): create GitHub-API Object only when valid token given
Browse files Browse the repository at this point in the history
  • Loading branch information
tschulte committed Sep 15, 2015
1 parent 746f8f2 commit 9b8863e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ class SemanticReleaseChangeLogService {
}

void setGhToken(String token) {
github = new RtGithub(token)
if (token)
github = new RtGithub(token)
}

/**
Expand Down

0 comments on commit 9b8863e

Please sign in to comment.