Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' of https://github.com/NxP4Code/botkit into benb…
Browse files Browse the repository at this point in the history
…rown/4.9
  • Loading branch information
benbrown committed May 20, 2020
2 parents e73e398 + 5507bfb commit 0c52dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/botkit/src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ export class Botkit {
}

let worker: BotWorker = null;
const adapter = custom_adapter || (config.context && config.context.adapter) ? config.context.adapter : this.adapter;
const adapter = custom_adapter || (config && config.context && config.context.adapter) ? config.context.adapter : this.adapter;

if (adapter.botkit_worker) {
const CustomBotWorker = adapter.botkit_worker;
Expand Down

0 comments on commit 0c52dc5

Please sign in to comment.