Skip to content

Commit

Permalink
Pluralize override
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Jan 8, 2025
1 parent 6d6b508 commit 9b8daf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/optimize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ function createActionMessage(
overrideCount: number,
workspaceCount: number
) {
return `${verb} ${overrideCount} Socket.dev optimized overrides${workspaceCount ? ` in ${workspaceCount} ${pluralize('workspace', workspaceCount)}` : ''}`
return `${verb} ${overrideCount} Socket.dev optimized ${pluralize('override', overrideCount)}${workspaceCount ? ` in ${workspaceCount} ${pluralize('workspace', workspaceCount)}` : ''}`
}

function getDependencyEntries(pkgJson: PackageJson) {
Expand Down

0 comments on commit 9b8daf9

Please sign in to comment.