fix(cli): show project dir in context build step (#67)

This commit is contained in:
Andrey Avtomonov 2026-05-13 15:49:22 +02:00 committed by GitHub
parent c202202e6b
commit e353425266
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 1 deletions

View file

@ -204,6 +204,7 @@ export function renderContextBuildView(
'',
header,
separator,
...(options.projectDir ? [` Project: ${options.projectDir}`] : []),
...renderTargetGroup('Primary sources', state.primarySources, state.frame, styled, width),
...renderTargetGroup('Context sources', state.contextSources, state.frame, styled, width),
'',
@ -684,7 +685,7 @@ export async function runContextBuild(
}
if (!repainter) {
io.stdout.write(renderContextBuildView(state, { styled: false }));
io.stdout.write(renderContextBuildView(state, { ...viewOpts, styled: false }));
} else {
paint(false);
}