diff --git a/core/core-cli-lib.el b/core/core-cli-lib.el index e0f744d78..b389e8346 100644 --- a/core/core-cli-lib.el +++ b/core/core-cli-lib.el @@ -899,8 +899,7 @@ considered as well." (context (or context (doom-cli-context-create))) (straight-error (and (bound-and-true-p straight-process-buffer) - (stringp data) - (string-match-p (regexp-quote straight-process-buffer) data) + (member straight-process-buffer data) (with-current-buffer (straight--process-buffer) (split-string (buffer-string) "\n" t)))) (error-file (doom-cli--output-file 'error context)))