Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

Commit 7c81816

Browse files
committed
refactor(push): use konsola ok
1 parent 3ea0281 commit 7c81816

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/commands/components/push/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ componentsCommand
2525
.option('--force', 'Force update all resources, bypassing skip checks for unchanged content')
2626
.action(async (componentName: string | undefined, options: PushComponentsOptions) => {
2727
konsola.title(` ${commands.COMPONENTS} `, colorPalette.COMPONENTS, componentName ? `Pushing component ${componentName}...` : 'Pushing components...');
28-
console.time('perf: push components separate files');
2928
// Global options
3029
const verbose = program.opts().verbose;
3130
const { space, path } = componentsCommand.opts();
@@ -165,8 +164,6 @@ componentsCommand
165164
});
166165
}
167166
}
168-
console.log(`${requestCount} requests made`);
169-
console.timeEnd(`perf: push components separate files`);
170167
}
171168
catch (error) {
172169
handleError(error as Error, verbose);

src/commands/components/push/progress-display.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import chalk from 'chalk';
2+
import { konsola } from '../../../utils/konsola';
23

34
export type ProcessingEvent =
45
| { type: 'start'; total: number }
@@ -56,7 +57,7 @@ export class ProgressDisplay {
5657
case 'complete': {
5758
this.clearProgress();
5859
const { updated, unchanged, failed } = event.summary;
59-
console.log(`\n✅ Completed: ${updated} updated, ${unchanged} unchanged, ${failed} failed`);
60+
konsola.ok(`Completed: ${updated} updated, ${unchanged} unchanged, ${failed} failed`);
6061

6162
// Show summary of skipped items when there are many
6263
if (unchanged > 5) {

0 commit comments

Comments
 (0)