mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
refactor(cli): remove redundant ensure-list call
This commit is contained in:
@ -497,7 +497,7 @@ Throws `doom-cli-invalid-option-error' for illegal values."
|
|||||||
(types (ensure-list (nth i args)))
|
(types (ensure-list (nth i args)))
|
||||||
errors)
|
errors)
|
||||||
(catch 'done
|
(catch 'done
|
||||||
(dolist (type (ensure-list (nth i args)))
|
(dolist (type types)
|
||||||
(pcase-let
|
(pcase-let
|
||||||
(((map :test :read :error)
|
(((map :test :read :error)
|
||||||
(if (or (symbolp type)
|
(if (or (symbolp type)
|
||||||
|
Reference in New Issue
Block a user