aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-09-23 15:06:12 +0530
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2021-09-23 15:08:32 +0530
commitc0406dda600387f4e9ace941e02a8783bc97d90c (patch)
treed19dba10c8c35d33992c8e66a3d409fa23beac4a /scripts
parentfix: updated 'skype' and 'discord' to properly relinquish 'win' object for im... (diff)
downloadferdium-recipes-c0406dda600387f4e9ace941e02a8783bc97d90c.tar.gz
ferdium-recipes-c0406dda600387f4e9ace941e02a8783bc97d90c.tar.zst
ferdium-recipes-c0406dda600387f4e9ace941e02a8783bc97d90c.zip
feature: allow services to delineate favorites vs non-favorites in unread counts
implements getferdi/recipes#721
Diffstat (limited to 'scripts')
-rw-r--r--scripts/package.js2
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}`);