fix(dev): md/stop! will rewrite malli-kondo config.edn with {}

pull/8481/head^2
rcmerci 2023-01-31 17:49:17 +08:00 committed by Gabriel Horner
parent 75a26303ae
commit 89a3012a54
2 changed files with 2 additions and 2 deletions

View File

@ -68,6 +68,5 @@
;; this is controlled by :before-load in the config
(handler/stop!)
(when config/dev?
(sync/<sync-stop)
(md/stop!))
(sync/<sync-stop))
(js/console.log "stop"))

View File

@ -1972,6 +1972,7 @@
(let [next-state
(let [{public-key :publicKey private-key :secretKey}
(<! (<key-gen rsapi))
_ (assert (and public-key private-key) (str :public-key public-key :private-key private-key))
encrypted-private-key (<! (<encrypt-content private-key pwd))
_ (assert (string? encrypted-private-key)
{:encrypted-private-key encrypted-private-key