Skip to content

Commit ead084c

Browse files
juukiechrisvfritz
authored andcommitted
Small refactor of count + knife > 1 knife (vuejs#433)
1 parent fe18cd4 commit ead084c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ function pluralizeKnife (count) {
990990
if (count === 0) {
991991
return 'no knives'
992992
} else if (count === 1) {
993-
return count + 'knife'
993+
return '1 knife'
994994
} else {
995995
return count + 'knives'
996996
}

0 commit comments

Comments
 (0)