Skip to content
Permalink
Browse files

chore(generic): replace node-github with @octokit/rest

node-github was deprecated
  • Loading branch information
malept committed Jan 22, 2018
1 parent a80ff50 commit e1f26075b5babca197d9aef40d5539564ee17bee
Showing with 3 additions and 3 deletions.
  1. +1 −1 package.json
  2. +1 −1 src/util/github.js
  3. +1 −1 test/fast/github_spec.js
@@ -106,6 +106,7 @@
"cache": true
},
"dependencies": {
"@octokit/rest": "^14.0.4",
"aws-sdk": "^2.9.0",
"babel-register": "^6.16.3",
"bluebird": "^3.4.6",
@@ -121,7 +122,6 @@
"electron-rebuild": "^1.6.0",
"form-data": "^2.1.4",
"fs-extra": "^5.0.0",
"github": "^13.1.0",
"glob": "^7.1.1",
"inquirer": "^5.0.0",
"lodash.merge": "^4.6.0",
@@ -1,4 +1,4 @@
import GitHubAPI from 'github';
import GitHubAPI from '@octokit/rest';

export default class GitHub {
constructor(authToken, requireAuth) {
@@ -21,7 +21,7 @@ describe('GitHub', () => {
}
};
GitHub = proxyquire.noCallThru().load('../../src/util/github', {
github: MockGitHub,
'@octokit/rest': MockGitHub,
}).default;
});

0 comments on commit e1f2607

Please sign in to comment.
You can’t perform that action at this time.