From 146f44aea5bf14eb806ae63c712d9e7182f38564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20van=20Dijk?= Date: Sat, 1 Oct 2016 22:50:06 +0200 Subject: [PATCH] Small refactor of count + knife > 1 knife --- src/guide/migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/migration.md b/src/guide/migration.md index accaf250fe..c91970e778 100644 --- a/src/guide/migration.md +++ b/src/guide/migration.md @@ -990,7 +990,7 @@ function pluralizeKnife (count) { if (count === 0) { return 'no knives' } else if (count === 1) { - return count + 'knife' + return '1 knife' } else { return count + 'knives' }