mirror of https://github.com/logseq/logseq
fix(dev): md/stop! will rewrite malli-kondo config.edn with {}
parent
75a26303ae
commit
89a3012a54
|
@ -68,6 +68,5 @@
|
||||||
;; this is controlled by :before-load in the config
|
;; this is controlled by :before-load in the config
|
||||||
(handler/stop!)
|
(handler/stop!)
|
||||||
(when config/dev?
|
(when config/dev?
|
||||||
(sync/<sync-stop)
|
(sync/<sync-stop))
|
||||||
(md/stop!))
|
|
||||||
(js/console.log "stop"))
|
(js/console.log "stop"))
|
||||||
|
|
|
@ -1972,6 +1972,7 @@
|
||||||
(let [next-state
|
(let [next-state
|
||||||
(let [{public-key :publicKey private-key :secretKey}
|
(let [{public-key :publicKey private-key :secretKey}
|
||||||
(<! (<key-gen rsapi))
|
(<! (<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))
|
encrypted-private-key (<! (<encrypt-content private-key pwd))
|
||||||
_ (assert (string? encrypted-private-key)
|
_ (assert (string? encrypted-private-key)
|
||||||
{:encrypted-private-key encrypted-private-key
|
{:encrypted-private-key encrypted-private-key
|
||||||
|
|
Loading…
Reference in New Issue