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:
Gregor 2019-01-21 12:55:02 -08:00
parent 64f5928356
commit a3da7b231c
1 changed files with 0 additions and 2 deletions

View File

@ -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) })
}) })