upgrade Octokit/rest: 16.2.0 > 16.30.1

Also add a yarn.lock to the repo

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-09-30 12:40:59 +02:00
parent 68cb077488
commit 0f57359cb6
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
5 changed files with 5242 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
node_modules/
dist/*
package-lock.json
yarn.lock

View File

@ -5,7 +5,7 @@
"repository": "https://github.com/status-im/github-comment-manager",
"main": "index.js",
"dependencies": {
"@octokit/rest": "^16.2.0",
"@octokit/rest": "^16.30.1",
"await-lock": "^1.1.3",
"handlebars": "^4.0.12",
"joi": "^14.3.0",

View File

@ -41,7 +41,7 @@ class Comments {
const rval = await this.gh.issues.createComment({
owner: this.owner,
repo: repo,
number: pr,
issue_number: pr,
body,
})
return rval.data.id

View File

@ -89,7 +89,7 @@ describe('Comments', () => {
expect(client.issues.createComment).calledOnceWith({
body: sinon.match.any,
owner: 'owner',
number: 'PR-ID',
issue_number: 'PR-ID',
repo: 'REPO-1',
})
})

5239
yarn.lock Normal file

File diff suppressed because it is too large Load Diff