refactor(cli): remove redundant ensure-list call

This commit is contained in:
Henrik Lissner 2022-07-24 13:15:06 +02:00
parent 824402aaee
commit 1448b8eee1
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -497,7 +497,7 @@ Throws `doom-cli-invalid-option-error' for illegal values."
(types (ensure-list (nth i args)))
errors)
(catch 'done
(dolist (type (ensure-list (nth i args)))
(dolist (type types)
(pcase-let
(((map :test :read :error)
(if (or (symbolp type)