Skip to content

Commit 11e526d

Browse files
dnicolsonfacebook-github-bot
authored andcommitted
Fix pluralization
Summary: This replaces "Recrawled this watch 1 times" with "Recrawled this watch 1 time". X-link: facebook/watchman#1180 Reviewed By: genevievehelsel Differential Revision: D52463712 fbshipit-source-id: 8b46f6f57836d562525606103972944b671e2c81
1 parent 89babe5 commit 11e526d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

third-party/watchman/src/watchman/root/threading.cpp

100644100755
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ void Root::scheduleRecrawl(const char* why) {
2828
info->warning = w_string::build(
2929
"Recrawled this watch ",
3030
info->recrawlCount,
31-
" times, most recently because:\n",
31+
" time",
32+
info->recrawlCount != 1 ? "s" : "",
33+
", most recently because:\n",
3234
why,
3335
"To resolve, please review the information on\n",
3436
cfg_get_trouble_url(),

third-party/watchman/src/website/docs/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ macOS has a similar internal limit and behavior when that limit is exceeded. If
5656
you're encountering a message like:
5757

5858
```
59-
Recrawled this watch 1 times, most recently because:
59+
Recrawled this watch 1 time, most recently because:
6060
/some/path: kFSEventStreamEventFlagUserDropped
6161
```
6262

0 commit comments

Comments
 (0)