From b02893cdeef84eb6ee8474d8a606517febcb2438 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 23 Sep 2025 13:54:45 +0000 Subject: [PATCH] Fix cleanupDisabledFiles function to use correct variable names Co-authored-by: AstroSteveo <34114851+AstroSteveo@users.noreply.github.com> --- apply-config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apply-config.js b/apply-config.js index 7fc1dc1..62bea4c 100755 --- a/apply-config.js +++ b/apply-config.js @@ -263,13 +263,13 @@ function cleanupDisabledFiles(outputDir, effectivelyEnabledSets, rootDir) { if (!effectivelyEnabledSets[section.name].has(itemName)) { const filePath = path.join(sectionDir, fileName); fs.unlinkSync(filePath); - cleanupSummary[section.name]++; + removedCounts[section.name]++; console.log(`🗑️ Removed: ${section.name}/${fileName}`); } } } - return cleanupSummary; + return removedCounts; } // CLI usage