forked from mirrors/probot
refactor: remove obsolete `debug` option for Octokit
This has been removed in v13: https://github.com/octokit/rest.js/releases/tag/v13.0.0
This commit is contained in:
parent
64f5928356
commit
a3da7b231c
|
@ -205,7 +205,6 @@ export class Application {
|
||||||
return `token ${accessToken}`
|
return `token ${accessToken}`
|
||||||
},
|
},
|
||||||
baseUrl: process.env.GHE_HOST && `https://${process.env.GHE_HOST}/api/v3`,
|
baseUrl: process.env.GHE_HOST && `https://${process.env.GHE_HOST}/api/v3`,
|
||||||
debug: process.env.LOG_LEVEL === 'trace',
|
|
||||||
logger: log.child({ name: 'github', installation: String(id) })
|
logger: log.child({ name: 'github', installation: String(id) })
|
||||||
})
|
})
|
||||||
}, { ttl: installationTokenTTL })
|
}, { ttl: installationTokenTTL })
|
||||||
|
@ -213,7 +212,6 @@ export class Application {
|
||||||
|
|
||||||
const github = GitHubAPI({
|
const github = GitHubAPI({
|
||||||
baseUrl: process.env.GHE_HOST && `https://${process.env.GHE_HOST}/api/v3`,
|
baseUrl: process.env.GHE_HOST && `https://${process.env.GHE_HOST}/api/v3`,
|
||||||
debug: process.env.LOG_LEVEL === 'trace',
|
|
||||||
logger: log.child({ name: 'github', installation: String(id) })
|
logger: log.child({ name: 'github', installation: String(id) })
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue