From 0dfee56e35deddb55a8455014d78e1b784437cfc Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 24 Aug 2020 23:22:57 -0400 Subject: [PATCH] Fix string type error on 'doom upgrade' --- core/cli/upgrade.el | 2 +- core/core-cli.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/cli/upgrade.el b/core/cli/upgrade.el index 16f3454ae..5c520b1b6 100644 --- a/core/cli/upgrade.el +++ b/core/cli/upgrade.el @@ -17,7 +17,7 @@ following shell commands: (let ((doom-auto-discard force-p)) (cond (packages-only-p - (doom-cli-execute "sync" '("-u")) + (doom-cli-execute "sync" "-u") (print! (success "Finished upgrading Doom Emacs"))) ((doom-cli-upgrade doom-auto-accept doom-auto-discard) diff --git a/core/core-cli.el b/core/core-cli.el index 475fa6a41..5e6ab5711 100644 --- a/core/core-cli.el +++ b/core/core-cli.el @@ -465,7 +465,7 @@ with a different private module." (doom-cli-command-not-found-error (print! (error "Command 'doom %s' not recognized") (string-join (cdr e) " ")) (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) ;; TODO Not implemented yet (doom-cli-wrong-number-of-arguments-error