fix(cli): doctor: pluralizing single errors/warnings
This commit is contained in:
parent
bd0728e9b3
commit
7a8383c2d1
1 changed files with 1 additions and 1 deletions
|
@ -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)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue