diff --git a/tabby-plugin-manager/src/services/pluginManager.service.ts b/tabby-plugin-manager/src/services/pluginManager.service.ts index 4a7abf7cb1..d99a13a8c9 100644 --- a/tabby-plugin-manager/src/services/pluginManager.service.ts +++ b/tabby-plugin-manager/src/services/pluginManager.service.ts @@ -68,8 +68,9 @@ export class PluginManagerService { map(plugins => plugins.filter(x => x.packageName.startsWith(namePrefix))), map(plugins => plugins.filter(x => !PLUGIN_BLACKLIST.includes(x.packageName))), map(plugins => { - const mapping: Record = {} + const mapping: Record = {} for (const p of plugins) { + // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition mapping[p.name] ??= [] mapping[p.name].push(p) }