From f98f776974f49ff61cdf001164852a4818f85920 Mon Sep 17 00:00:00 2001 From: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com> Date: Sun, 4 Oct 2026 20:26:55 +0100 Subject: [PATCH] Fix codefactor lint --- exp_scenario/controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exp_scenario/controller.ts b/exp_scenario/controller.ts index ed76e290..7c7547c4 100644 --- a/exp_scenario/controller.ts +++ b/exp_scenario/controller.ts @@ -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}`);