fix(cli): wrong-number-of-args error when auto-resolving prompts
E.g. 'doom sync -!' will auto-resolve repo conflicts, but this error was preventing that.
This commit is contained in:
parent
6e8de0bd89
commit
3fe81f4291
1 changed files with 1 additions and 1 deletions
|
@ -739,7 +739,7 @@ it doesn't make sense to slack."
|
||||||
(if (doom-cli-context-suppress-prompts-p doom-cli--context)
|
(if (doom-cli-context-suppress-prompts-p doom-cli--context)
|
||||||
(cl-loop for (_key desc func) in actions
|
(cl-loop for (_key desc func) in actions
|
||||||
when desc
|
when desc
|
||||||
when (doom-cli--straight-recommended-option-p prompt desc t)
|
when (doom-cli--straight-recommended-option-p prompt desc)
|
||||||
return (funcall func))
|
return (funcall func))
|
||||||
(print! (start "%s") (red prompt))
|
(print! (start "%s") (red prompt))
|
||||||
(print-group!
|
(print-group!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue