Fix logic for generating both config and auth
Should trigger if both or neither flag is set
This commit is contained in:
parent
1f9b434154
commit
b0faeab079
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@
|
||||||
only-config
|
only-config
|
||||||
only-auth]
|
only-auth]
|
||||||
(let [resulting-config (merge config-defaults my-config)
|
(let [resulting-config (merge config-defaults my-config)
|
||||||
both (not (or only-config only-auth))
|
both (or (and only-config only-auth) (and (not only-config) (not only-auth)))
|
||||||
res-vec (cond
|
res-vec (cond
|
||||||
both (concat-vec (config-objects resulting-config) (auth-objects my-auth))
|
both (concat-vec (config-objects resulting-config) (auth-objects my-auth))
|
||||||
only-config (config-objects my-config)
|
only-config (config-objects my-config)
|
||||||
|
|
Loading…
Reference in a new issue