Comparing version 8.0.0-beta.4 to 8.0.0-beta.5
@@ -78,3 +78,7 @@ "use strict"; | ||
if (this.options.id) { | ||
if (process.env.GHE_HOST && /^https?:\/\//.test(process.env.GHE_HOST)) { | ||
throw new Error('Your \`GHE_HOST\` environment variable should not begin with https:// or http://'); | ||
} | ||
this.app = new app_1.default({ | ||
baseUrl: process.env.GHE_HOST && "https://" + process.env.GHE_HOST + "/api/v3", | ||
id: options.id, | ||
@@ -81,0 +85,0 @@ privateKey: options.cert |
{ | ||
"name": "probot", | ||
"version": "8.0.0-beta.4", | ||
"version": "8.0.0-beta.5", | ||
"description": "🤖 A framework for building GitHub Apps to automate and improve your workflow", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/probot/probot", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
338297
2666
52