mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-28 09:23:08 +08:00
fix(pending-question): silence log when no pending questions
Only log "Loaded X pending questions" when X > 0 to reduce noise in CLI output. The message was appearing on every ccw command due to module import chain, but is only meaningful for ccw view startup.
This commit is contained in:
@@ -77,7 +77,10 @@ function initialize(): void {
|
|||||||
pendingQuestions.set(sq.id, pendingQ);
|
pendingQuestions.set(sq.id, pendingQ);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(`[PendingQuestionService] Loaded ${pendingQuestions.size} pending questions from storage`);
|
// Only log when there are actual pending questions (silent when 0)
|
||||||
|
if (pendingQuestions.size > 0) {
|
||||||
|
console.log(`[PendingQuestionService] Loaded ${pendingQuestions.size} pending questions from storage`);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
initialized = true;
|
initialized = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user