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:
parent
68cb077488
commit
0f57359cb6
|
@ -1,4 +1,3 @@
|
||||||
node_modules/
|
node_modules/
|
||||||
dist/*
|
dist/*
|
||||||
package-lock.json
|
package-lock.json
|
||||||
yarn.lock
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"repository": "https://github.com/status-im/github-comment-manager",
|
"repository": "https://github.com/status-im/github-comment-manager",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@octokit/rest": "^16.2.0",
|
"@octokit/rest": "^16.30.1",
|
||||||
"await-lock": "^1.1.3",
|
"await-lock": "^1.1.3",
|
||||||
"handlebars": "^4.0.12",
|
"handlebars": "^4.0.12",
|
||||||
"joi": "^14.3.0",
|
"joi": "^14.3.0",
|
||||||
|
|
|
@ -41,7 +41,7 @@ class Comments {
|
||||||
const rval = await this.gh.issues.createComment({
|
const rval = await this.gh.issues.createComment({
|
||||||
owner: this.owner,
|
owner: this.owner,
|
||||||
repo: repo,
|
repo: repo,
|
||||||
number: pr,
|
issue_number: pr,
|
||||||
body,
|
body,
|
||||||
})
|
})
|
||||||
return rval.data.id
|
return rval.data.id
|
||||||
|
|
|
@ -89,7 +89,7 @@ describe('Comments', () => {
|
||||||
expect(client.issues.createComment).calledOnceWith({
|
expect(client.issues.createComment).calledOnceWith({
|
||||||
body: sinon.match.any,
|
body: sinon.match.any,
|
||||||
owner: 'owner',
|
owner: 'owner',
|
||||||
number: 'PR-ID',
|
issue_number: 'PR-ID',
|
||||||
repo: 'REPO-1',
|
repo: 'REPO-1',
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue