Skip to content

Commit

Permalink
Added legacy github auth back to v3 for github
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimeh87 committed Aug 30, 2019
1 parent 2be29f7 commit 392a83d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/GitHub.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class GitHub extends GitService {
const isAppAuth = config.get('githubAppID') &&
config.get('githubPrivateKey')
const isLegacyAuth = config.get('githubToken') &&
['1', '2'].includes(options.version)
['1', '2', '3'].includes(options.version)

this.authentication = Promise.resolve()

Expand Down

0 comments on commit 392a83d

Please sign in to comment.