mirror of
https://github.com/zhigang1992/probot.git
synced 2026-06-14 01:50:31 +08:00
fix(package): update @octokit/rest to version 15.2.0 (#457)
This commit is contained in:
committed by
Brandon Keepers
parent
24aec79be5
commit
5898da7f50
@@ -139,8 +139,7 @@ class Robot {
|
||||
async auth (id, log = this.log) {
|
||||
const github = new GitHubApi({
|
||||
debug: process.env.LOG_LEVEL === 'trace',
|
||||
host: process.env.GHE_HOST || 'api.github.com',
|
||||
pathPrefix: process.env.GHE_HOST ? '/api/v3' : '',
|
||||
baseUrl: process.env.GHE_HOST && `https://${process.env.GHE_HOST}/api/v3`,
|
||||
logger: log.child({name: 'github', installation: id})
|
||||
})
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"author": "Brandon Keepers",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@octokit/rest": "15.1.9",
|
||||
"@octokit/rest": "15.2.0",
|
||||
"bottleneck": "^2.2.0",
|
||||
"bunyan": "^1.8.12",
|
||||
"bunyan-format": "^0.2.1",
|
||||
|
||||
Reference in New Issue
Block a user