style: format context file list on separate lines

This commit is contained in:
Mario Zechner 2025-11-12 22:21:14 +01:00
parent b1c2c32e23
commit dea7067593

View file

@ -515,8 +515,10 @@ export async function main(args: string[]) {
if (shouldPrintMessages && !parsed.continue && !parsed.resume) {
const contextFiles = loadProjectContextFiles();
if (contextFiles.length > 0) {
const fileList = contextFiles.map((f) => f.path).join(", ");
console.log(chalk.dim(`Loaded project context from: ${fileList}`));
console.log(chalk.dim("Loaded project context from:"));
for (const { path: filePath } of contextFiles) {
console.log(chalk.dim(` - ${filePath}`));
}
}
}