Fix for config validation.
This commit is contained in:
parent
fe17c489d9
commit
704c856387
@ -500,7 +500,7 @@
|
|||||||
:access-token :access-token-secret])]
|
:access-token :access-token-secret])]
|
||||||
(set/difference (set required) (set present))))
|
(set/difference (set required) (set present))))
|
||||||
missing (concat missing1 missing2)]
|
missing (concat missing1 missing2)]
|
||||||
(when missing
|
(when (seq missing)
|
||||||
(throw (js/Error. (str "Missing configuration values: "
|
(throw (js/Error. (str "Missing configuration values: "
|
||||||
(string/join ", " (sort-by str missing))))))))
|
(string/join ", " (sort-by str missing))))))))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user