From 60545b9cd1212e3f369ce795ef9c8d6713890bba Mon Sep 17 00:00:00 2001 From: Steven Mosley <34114851+AstroSteveo@users.noreply.github.com> Date: Mon, 22 Sep 2025 05:54:00 -0500 Subject: [PATCH] Update apply-config.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- apply-config.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/apply-config.js b/apply-config.js index cd2006e..b8aa487 100755 --- a/apply-config.js +++ b/apply-config.js @@ -229,10 +229,14 @@ function copyFile(sourcePath, destPath) { } /** - * Clean up files that are no longer enabled (requirement #3) + * Cleans up files in the output directory that are no longer enabled. + * + * @param {string} outputDir - The root directory where generated files are stored. + * @param {Object} effectivelyEnabledSets - An object mapping section names to Sets of enabled item names. + * @param {string} rootDir - The root directory of the project (used for path resolution). + * @returns {Object} Summary of the number of files removed per section. */ function cleanupDisabledFiles(outputDir, effectivelyEnabledSets, rootDir) { - const cleanupSummary = { prompts: 0, instructions: 0, chatmodes: 0