Skip to content

Commit d1f0a38

Browse files
author
awb99
committed
bugfix load-config
1 parent 4e41352 commit d1f0a38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/modular/config.clj

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
(defn load-config!
1212
[app-config]
1313
(let [config (load-config-cprop app-config)]
14+
(write-edn-private "config" config)
1415
(reset! config-atom config)
15-
(write-edn-private "config" @config-atom)))
16+
config-atom))
1617

1718
(defn add-config [app-config user-config]
1819
(let [app-config (if (vector? app-config) app-config [app-config])

0 commit comments

Comments
 (0)