Fix string type error on 'doom upgrade'

This commit is contained in:
Henrik Lissner 2020-08-24 23:22:57 -04:00
parent 4fa0241134
commit 0dfee56e35
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ following shell commands:
(let ((doom-auto-discard force-p)) (let ((doom-auto-discard force-p))
(cond (cond
(packages-only-p (packages-only-p
(doom-cli-execute "sync" '("-u")) (doom-cli-execute "sync" "-u")
(print! (success "Finished upgrading Doom Emacs"))) (print! (success "Finished upgrading Doom Emacs")))
((doom-cli-upgrade doom-auto-accept doom-auto-discard) ((doom-cli-upgrade doom-auto-accept doom-auto-discard)

View file

@ -465,7 +465,7 @@ with a different private module."
(doom-cli-command-not-found-error (doom-cli-command-not-found-error
(print! (error "Command 'doom %s' not recognized") (string-join (cdr e) " ")) (print! (error "Command 'doom %s' not recognized") (string-join (cdr e) " "))
(print! "\nDid you mean one of these commands?") (print! "\nDid you mean one of these commands?")
(doom-cli-execute "help" "--similar" (string-join (cdr e) " ")) (apply #'doom-cli-execute "help" "--similar" (string-join (cdr e) " "))
2) 2)
;; TODO Not implemented yet ;; TODO Not implemented yet
(doom-cli-wrong-number-of-arguments-error (doom-cli-wrong-number-of-arguments-error