Fix env var name for deprecated INTEGRATION_ID

This commit is contained in:
Brandon Keepers 2017-06-09 16:45:35 -05:00
parent 7b28802eb6
commit fdcc2e949f
No known key found for this signature in database
GPG Key ID: F9533396D5FACBF6
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ const {findPrivateKey} = require('../lib/private-key');
program program
.usage('[options] <plugins...>') .usage('[options] <plugins...>')
.option('-i, --integration <id>', 'DEPRECATED: ID of the GitHub App', process.env.APP_ID) .option('-i, --integration <id>', 'DEPRECATED: ID of the GitHub App', process.env.INTEGRATION_ID)
.option('-a, --app <id>', 'ID of the GitHub App', process.env.APP_ID) .option('-a, --app <id>', 'ID of the GitHub App', process.env.APP_ID)
.option('-s, --secret <secret>', 'Webhook secret of the GitHub App', process.env.WEBHOOK_SECRET || 'development') .option('-s, --secret <secret>', 'Webhook secret of the GitHub App', process.env.WEBHOOK_SECRET || 'development')
.option('-p, --port <n>', 'Port to start the server on', process.env.PORT || 3000) .option('-p, --port <n>', 'Port to start the server on', process.env.PORT || 3000)