mirror of
https://github.com/thedotmack/claude-mem
synced 2026-04-25 17:15:04 +02:00
MAESTRO: exclude transcript CLI from logger-usage-standards test
src/services/transcripts/cli.ts is a CLI command with user-visible console output, not a background service — console.log is intentional. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -37,6 +37,7 @@ const EXCLUDED_PATTERNS = [
|
|||||||
/user-message-hook\.ts$/, // Deprecated - kept for reference only, not registered in hooks.json
|
/user-message-hook\.ts$/, // Deprecated - kept for reference only, not registered in hooks.json
|
||||||
/cli\/hook-command\.ts$/, // CLI hook command uses console.log/error for hook protocol output
|
/cli\/hook-command\.ts$/, // CLI hook command uses console.log/error for hook protocol output
|
||||||
/cli\/handlers\/user-message\.ts$/, // User message handler uses console.error for user-visible context
|
/cli\/handlers\/user-message\.ts$/, // User message handler uses console.error for user-visible context
|
||||||
|
/services\/transcripts\/cli\.ts$/, // CLI transcript subcommands use console.log for user-visible interactive output
|
||||||
];
|
];
|
||||||
|
|
||||||
// Files that should always use logger (core business logic)
|
// Files that should always use logger (core business logic)
|
||||||
|
|||||||
Reference in New Issue
Block a user