mirror of
https://github.com/taoensso/telemere.git
synced 2025-12-16 17:41:12 +00:00
[fix] signal-opts: allow map forms as intended
This commit is contained in:
parent
7f52cb1843
commit
f7a56631c5
1 changed files with 2 additions and 2 deletions
|
|
@ -490,8 +490,8 @@
|
|||
extra-opts? (and extra-arg? (map? extra-arg))]
|
||||
|
||||
:do
|
||||
(cond
|
||||
(map? main-arg)
|
||||
(enc/cond
|
||||
(and (map? main-arg) (not extra-arg?))
|
||||
(bad-args! "single map arg is USUALLY a mistake, so isn't allowed. Please use 2 arg call if this is intentional." {})
|
||||
|
||||
(and extra-opts? (contains? extra-arg main-key))
|
||||
|
|
|
|||
Loading…
Reference in a new issue