From 7a8383c2d15b012ba94034fec3ec88119f99a91c Mon Sep 17 00:00:00 2001 From: Nikola Bunjevac Date: Thu, 23 Feb 2023 07:15:36 +0100 Subject: [PATCH] fix(cli): doctor: pluralizing single errors/warnings --- lisp/cli/doctor.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/cli/doctor.el b/lisp/cli/doctor.el index 2fd367c6a..49d2f3269 100644 --- a/lisp/cli/doctor.el +++ b/lisp/cli/doctor.el @@ -284,7 +284,7 @@ in." (list doom-doctor--errors "error" 'red))) (when (car msg) (print! (color (nth 2 msg) - (if (cdr msg) + (if (cdar msg) "There are %d %ss!" "There is %d %s!") (length (car msg)) (nth 1 msg)))))