fix(cli): wrong-number-of-args error on 'doom upgrade'
When I added call! to the DSL, I forgot to update doom-cli-call calls.
This should quell these errors when running 'doom upgrade':
x There was an unexpected runtime error
Message: Wrong number of arguments
Details: (((cl-struct-doom-cli-context-tags cl-struct-doom-cli-option-...
Backtrace:
(doom-cli-call ("doom" "sync" "-u"))
(cond (packages\? (doom-cli-call sync-cmd) (doom-print (doom-print-...
Amend: 6c0b7e1530
This commit is contained in:
parent
647abad97d
commit
89e02c1c2b
1 changed files with 3 additions and 3 deletions
|
@ -31,10 +31,10 @@ following shell commands:
|
||||||
doom clean
|
doom clean
|
||||||
doom sync -u"
|
doom sync -u"
|
||||||
(let* ((force? (doom-cli-context-suppress-prompts-p context))
|
(let* ((force? (doom-cli-context-suppress-prompts-p context))
|
||||||
(sync-cmd `("doom" "sync" "-u")))
|
(sync-cmd '("sync" "-u")))
|
||||||
(cond
|
(cond
|
||||||
(packages?
|
(packages?
|
||||||
(doom-cli-call sync-cmd)
|
(call! sync-cmd)
|
||||||
(print! (success "Finished upgrading Doom Emacs")))
|
(print! (success "Finished upgrading Doom Emacs")))
|
||||||
|
|
||||||
((doom-cli-upgrade force? force?)
|
((doom-cli-upgrade force? force?)
|
||||||
|
@ -44,7 +44,7 @@ following shell commands:
|
||||||
(exit! "doom" "upgrade" "-p" (if force? "--force")))
|
(exit! "doom" "upgrade" "-p" (if force? "--force")))
|
||||||
|
|
||||||
((print! "Doom is up-to-date!")
|
((print! "Doom is up-to-date!")
|
||||||
(doom-cli-call sync-cmd)))))
|
(call! sync-cmd)))))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue