mirror of
https://github.com/status-im/github-comment-manager.git
synced 2025-02-20 13:18:24 +00:00
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
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,3 @@
|
||||
node_modules/
|
||||
dist/*
|
||||
package-lock.json
|
||||
yarn.lock
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
@ -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',
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user