style: format context file list on separate lines
This commit is contained in:
@@ -515,8 +515,10 @@ export async function main(args: string[]) {
|
|||||||
if (shouldPrintMessages && !parsed.continue && !parsed.resume) {
|
if (shouldPrintMessages && !parsed.continue && !parsed.resume) {
|
||||||
const contextFiles = loadProjectContextFiles();
|
const contextFiles = loadProjectContextFiles();
|
||||||
if (contextFiles.length > 0) {
|
if (contextFiles.length > 0) {
|
||||||
const fileList = contextFiles.map((f) => f.path).join(", ");
|
console.log(chalk.dim("Loaded project context from:"));
|
||||||
console.log(chalk.dim(`Loaded project context from: ${fileList}`));
|
for (const { path: filePath } of contextFiles) {
|
||||||
|
console.log(chalk.dim(` - ${filePath}`));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user