From 7851e9e3b422f90884ddffb90d5e5847ca4254cb Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 20 May 2018 12:15:35 +0200 Subject: [PATCH] doctor: pluralize issue count at the end It's features like these that separate us from animals. --- bin/doom-doctor | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/doom-doctor b/bin/doom-doctor index 4cad3f24e..5d3210ace 100755 --- a/bin/doom-doctor +++ b/bin/doom-doctor @@ -316,5 +316,6 @@ ;; (message "\n----") (if (> doom-errors 0) - (warn! "There were %s issues!" doom-errors) + (warn! "There %s!" (if (= doom-errors 1) "is %d issue" "are %d issues") + doom-errors) (success! "Everything seems fine, happy Emacs'ing!"))