Skip to content

Commit

Permalink
fix: probot 11 run callback
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau committed Jan 13, 2021
1 parent d76f9d6 commit f46699a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions dist/index-node12-dev.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index-node12-dev.cjs.js.map

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions dist/index-node12.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index-node12.cjs.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.ts
Expand Up @@ -18,7 +18,7 @@ console.log({ name: process.env.REVIEWFLOW_NAME });

// let config = await getConfig(context, 'reviewflow.yml');

run(({ app, getRouter }) => {
run((app, { getRouter }) => {
const mongoStores = mongoInit();
const slackHome = createSlackHomeWorker(mongoStores);
const appContext: AppContext = { mongoStores, slackHome };
Expand Down

0 comments on commit f46699a

Please sign in to comment.