diff options
Diffstat (limited to 'scripts/package.js')
-rw-r--r-- | scripts/package.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package.js b/scripts/package.js index 2675ffb..79db480 100644 --- a/scripts/package.js +++ b/scripts/package.js | |||
@@ -133,7 +133,7 @@ const compress = (src, dest) => new Promise((resolve, reject) => { | |||
133 | } | 133 | } |
134 | if (config.config && typeof config.config === "object") { | 134 | if (config.config && typeof config.config === "object") { |
135 | const configKeys = Object.keys(config.config); | 135 | const configKeys = Object.keys(config.config); |
136 | const knownConfigKeys = ['serviceURL', 'hasTeamId', 'urlInputPrefix', 'urlInputSuffix', 'hasHostedOption', 'hasCustomUrl', 'hasNotificationSound', 'hasDirectMessages', 'hasIndirectMessages', 'message', 'disablewebsecurity']; | 136 | const knownConfigKeys = ['serviceURL', 'hasTeamId', 'urlInputPrefix', 'urlInputSuffix', 'hasHostedOption', 'hasCustomUrl', 'hasNotificationSound', 'hasDirectMessages', 'hasIndirectMessages', 'allowFavoritesDelineationInUnreadCount', 'message', 'disablewebsecurity']; |
137 | const unrecognizedConfigKeys = configKeys.filter(x => !knownConfigKeys.includes(x)); | 137 | const unrecognizedConfigKeys = configKeys.filter(x => !knownConfigKeys.includes(x)); |
138 | if (unrecognizedConfigKeys.length > 0) { | 138 | if (unrecognizedConfigKeys.length > 0) { |
139 | configErrors.push(`The recipe's package.json contains the following keys that are not recognized: ${unrecognizedConfigKeys}`); | 139 | configErrors.push(`The recipe's package.json contains the following keys that are not recognized: ${unrecognizedConfigKeys}`); |