fix(cli): redundant lines in stderr logs

This commit is contained in:
Henrik Lissner 2022-07-28 19:43:34 +02:00
parent 20d5440023
commit fe2ea9f443
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -1034,7 +1034,7 @@ shown."
(when message
(let ((output (apply #'doom-print--format message args)))
;; One for the terminal, if the log level is high enough.
(doom-print output :format nil :level doom-print-message-level)
(doom-print output :format nil :level doom-print-message-level :stream t)
;; And one for the logs...
(when (doom-cli-context-p context)
(doom-print output :format nil :stream (doom-cli-context-stderr context) :level t)))