Update apply-config.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
99d7c8cefc
commit
60545b9cd1
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user