9 lines
163 B
TypeScript
9 lines
163 B
TypeScript
import { run } from 'probot';
|
|
import appFn from './appFn';
|
|
|
|
run(appFn).then((server) => {
|
|
process.on('SIGTERM', async () => {
|
|
await server.stop();
|
|
});
|
|
});
|