doctor: pluralize issue count at the end

It's features like these that separate us from animals.
This commit is contained in:
Henrik Lissner 2018-05-20 12:15:35 +02:00
parent 6aaa13d05e
commit 7851e9e3b4
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -316,5 +316,6 @@
;; ;;
(message "\n----") (message "\n----")
(if (> doom-errors 0) (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!")) (success! "Everything seems fine, happy Emacs'ing!"))