forked from mirrors/probot
Fix lint errors
This commit is contained in:
parent
37140a285b
commit
d7e43aad7b
4
index.js
4
index.js
|
@ -1,9 +1,9 @@
|
|||
const cacheManager = require('cache-manager');
|
||||
const createWebhook = require('github-webhook-handler');
|
||||
const createIntegration = require('github-integration');
|
||||
const Raven = require('raven');
|
||||
const createRobot = require('./lib/robot');
|
||||
const createServer = require('./lib/server');
|
||||
const Raven = require('raven');
|
||||
|
||||
module.exports = options => {
|
||||
const cache = cacheManager.caching({
|
||||
|
@ -20,7 +20,7 @@ module.exports = options => {
|
|||
const server = createServer(webhook);
|
||||
const robot = createRobot(integration, webhook, cache);
|
||||
|
||||
if(process.env.SENTRY_URL) {
|
||||
if (process.env.SENTRY_URL) {
|
||||
Raven.config(process.env.SENTRY_URL).install();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue