Skip to content

Commit

Permalink
Pluralize was/were on total changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhobbs committed Jan 24, 2025
1 parent 3314025 commit 7af2d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node-src/ui/messages/info/buildPassed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default (ctx: Context) => {
`)
: dedent(chalk`
${success} {bold Build ${ctx.build.number} passed!}
${totalChanges > 0 ? changes.join(' and ') : 'No changes'} were found in this build.
${totalChanges > 0 ? changes.join(' and ') : 'No changes'} ${pluralize('was', totalChanges, false)} found in this build.
${info} View build details at ${link(ctx.build.webUrl)}
`);
};

0 comments on commit 7af2d57

Please sign in to comment.