Fix codefactor lint

This commit is contained in:
Cooldude2606 committed 2026-10-04 20:26:55 +01:00
1 parent 2959d7476b
commit f98f776974
1 file changed
+1 -1
+1 -1
View File
@@ -49,7 +49,7 @@ export class ControllerPlugin {
/** Add new features, delete removed ones, and drop stored values which no longer fit a field */
reconcileFeatures() {
const declared = new Map(features.map(feature => [feature.name, feature]));
for (const record of [...this.features.values()]) {
for (const record of this.features.values()) {
const feature = declared.get(record.id);
if (!feature) {
this.logger.warn(`Dropping stored config of removed feature ${record.id}`);