Skip to content

Commit d778e61

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 2061253 commit d778e61

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/commands/health.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ export const showHealth = async (target: string, options: HealthOptions = {}): P
136136
process.stdout.write('\x1Bc');
137137

138138
const timestamp = new Date().toLocaleTimeString();
139-
console.log(
139+
logger.info?.(
140140
chalk.bold.cyan(`[KDM Health] Target: ${target} | Last updated: ${timestamp} (Interval: ${intervalSeconds}s)`)
141141
);
142-
console.log(chalk.dim('Press Ctrl+C to exit\n'));
142+
logger.info?.(chalk.dim('Press Ctrl+C to exit\n'));
143143

144144
if (rows.length === 0) {
145145
logger.warn?.(`No ${target === 'all' ? 'workloads' : target} found.`);

0 commit comments

Comments
 (0)