fix: avoid duplicate cli banners

This commit is contained in:
Peter Steinberger
2026-01-10 19:57:24 +01:00
parent 831de9ba8f
commit 0279f09459
2 changed files with 7 additions and 3 deletions

View File

@@ -92,3 +92,7 @@ export function emitCliBanner(version: string, options: BannerOptions = {}) {
process.stdout.write(`\n${line}\n\n`);
bannerEmitted = true;
}
export function hasEmittedCliBanner(): boolean {
return bannerEmitted;
}