Skip to content

Commit

Permalink
feat: add key 'custom' to config whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinDepuydt committed Jul 2, 2018
1 parent 5105e15 commit 6c731d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/botfuel-dialog/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export type Config = {|
},
path: string,
spellchecking: boolean,
// custom: Object,
|};

const fs = require('fs');
Expand Down Expand Up @@ -67,7 +68,7 @@ const defaultConfig = {
multiIntent: false,
};

const whitelist = Object.keys(defaultConfig).concat(['spellchecking']);
const whitelist = Object.keys(defaultConfig).concat(['spellchecking', 'custom']);

/**
* Returns the contents of the bot config file.
Expand Down

0 comments on commit 6c731d8

Please sign in to comment.