From 73b70893da1b17dd4faf6a60e162217a030b8682 Mon Sep 17 00:00:00 2001 From: Nishchal Gautam Date: Sat, 13 Jul 2019 17:46:41 +0700 Subject: [PATCH] fix(export): export server instead of running --- src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 53d3cc4..8eb734a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,4 +5,6 @@ import {getAppConfig} from "./AppConfig"; const appConfig = getAppConfig(); const probot = new Probot(appConfig); probot.load(App.handle); -probot.start(); + +// tslint:disable-next-line +export = probot.server;