mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-25 07:43:12 +09:00
Fix codefactor lint
This commit is contained in:
1 file changed
+1
-1
@@ -49,7 +49,7 @@ export class ControllerPlugin {
|
|||||||
/** Add new features, delete removed ones, and drop stored values which no longer fit a field */
|
/** Add new features, delete removed ones, and drop stored values which no longer fit a field */
|
||||||
reconcileFeatures() {
|
reconcileFeatures() {
|
||||||
const declared = new Map(features.map(feature => [feature.name, feature]));
|
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);
|
const feature = declared.get(record.id);
|
||||||
if (!feature) {
|
if (!feature) {
|
||||||
this.logger.warn(`Dropping stored config of removed feature ${record.id}`);
|
this.logger.warn(`Dropping stored config of removed feature ${record.id}`);
|
||||||
|
|||||||
Reference in new issue
Block a user