Skip to content

Commit

Permalink
Remove all remnants of localtunnel (#644)
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonEtco authored Aug 3, 2018
1 parent d712141 commit e030579
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions bin/probot-run.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const {findPrivateKey} = require('../lib/private-key')
program
.usage('[options] <apps...>')
.option('-p, --port <n>', 'Port to start the server on', process.env.PORT || 3000)
.option('-t, --tunnel <subdomain>', 'Deprecated: localtunnel support has been removed', process.env.SUBDOMAIN)
.option('-W, --webhook-proxy <url>', 'URL of the webhook proxy service.`', process.env.WEBHOOK_PROXY_URL)
.option('-w, --webhook-path <path>', 'URL path which receives webhooks. Ex: `/webhook`', process.env.WEBHOOK_PATH)
.option('-a, --app <id>', 'ID of the GitHub App', process.env.APP_ID)
Expand Down Expand Up @@ -38,11 +37,6 @@ const probot = createProbot({
webhookProxy: program.webhookProxy
})

if (!program.webhookProxy && program.tunnel) {
// TOOD: Remove for the 6.0.0 release
console.warn('[DEPRECATED] localtunnel support has been removed. See https://github.com/probot/probot/issues/391')
}

pkgConf('probot').then(pkg => {
probot.setup(program.args.concat(pkg.apps || pkg.plugins || []))
probot.start()
Expand Down

0 comments on commit e030579

Please sign in to comment.