Skip to content

Commit

Permalink
Update verify statement
Browse files Browse the repository at this point in the history
  • Loading branch information
ethriel3695 committed May 21, 2024
1 parent d740630 commit ac4c6bd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions node-src/ui/tasks/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ export const runOnlyFiles = (ctx: Context) => ({
export const runOnlyNames = (ctx: Context) => ({
status: 'pending',
title: 'Starting partial build',
output: `Snapshots will be limited to stories matching ${ctx.options.onlyStoryNames
.map((v) => `'${v}'`)
.join(', ')}`,
output: ctx.options.onlyStoryNames
? `Snapshots will be limited to stories matching ${ctx.options.onlyStoryNames
.map((v) => `'${v}'`)
.join(', ')}`
: `Snapshots will be limited to ${ctx.onlyStoryFiles?.length} story files affected by recent changes`,
});

export const awaitingUpgrades = (ctx: Context, upgradeBuilds: { completedAt?: number }[]) => {
Expand Down

0 comments on commit ac4c6bd

Please sign in to comment.