Skip to content

Commit 98408be

Browse files
committed
handling console message
1 parent 15cacbf commit 98408be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tasks/processSnapshot.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ export default (ctx: Context): ListrTask<Context, ListrRendererFactory, ListrRen
3636
}
3737
task.output = output;
3838
task.title = 'Processed snapshots'
39+
if(ctx.snapshotQueue?.getProcessedSnapshots()?.length === 0){
40+
task.title = 'No snapshots processed';
41+
}
3942
} catch (error: any) {
4043
ctx.log.debug(error);
4144
task.output = chalk.gray(error.message);

0 commit comments

Comments
 (0)