Skip to content

Commit

Permalink
Update @octokit/rest to the latest version 🚀 (#4100)
Browse files Browse the repository at this point in the history
The devDependency [@octokit/rest](https://github.com/octokit/rest.js) was updated from `15.9.4` to `16.1.0`.
  • Loading branch information
greenkeeper[bot] authored and acdvorak committed Dec 5, 2018
1 parent 167add5 commit 6739ea0
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 58 deletions.
141 changes: 86 additions & 55 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
"devDependencies": {
"@google-cloud/datastore": "^2.0.0",
"@octokit/rest": "^15.9.4",
"@octokit/rest": "^16.1.0",
"argparse": "^1.0.10",
"ascii-table": "0.0.9",
"autoprefixer": "^9.0.0",
Expand Down
4 changes: 2 additions & 2 deletions test/screenshot/infra/lib/github-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class GitHubApi {

try {
stackTrace = getStackTrace('getPullRequestNumber');
allPrsResponse = await this.octokit_.pullRequests.getAll({
allPrsResponse = await this.octokit_.pulls.list({
owner: 'material-components',
repo: 'material-components-web',
per_page: 100,
Expand All @@ -163,7 +163,7 @@ class GitHubApi {

try {
stackTrace = getStackTrace('getPullRequestBaseBranch');
prResponse = await this.octokit_.pullRequests.get({
prResponse = await this.octokit_.pulls.get({
owner: 'material-components',
repo: 'material-components-web',
number: prNumber,
Expand Down

0 comments on commit 6739ea0

Please sign in to comment.