refactor(cli): remove redundant ensure-list call
This commit is contained in:
parent
824402aaee
commit
1448b8eee1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue