mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
cli: fix wrong argument being sent to doom-upgrade
In 84837fa0d
, a new argument was added before the timeout arg which
broken this flag.
This commit is contained in:
@ -16,6 +16,8 @@ following shell commands:
|
||||
(member "--force" args)))
|
||||
(doom-packages-update
|
||||
doom-auto-accept
|
||||
(when-let (threads (cadr (member "--threads" args)))
|
||||
(string-to-number threads))
|
||||
(when-let (timeout (cadr (or (member "--timeout" args)
|
||||
(member "-t" args))))
|
||||
(string-to-number timeout)))
|
||||
|
Reference in New Issue
Block a user