Skip to content

Commit fbc9e2b

Browse files
committed
Correctly pass nfnl config through to nfnl, not the root map that CONTAINS the config!
1 parent ee8300a commit fbc9e2b

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

fnl/conjure/client/fennel/nfnl.fnl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@
5151
(text.prefixed-lines "; ")
5252
(log.append)))
5353
:cfg (let [config-map (nfnl-config.find-and-load (fs.file-name-root path))]
54-
(when config-map
55-
(nfnl-config.cfg-fn config-map)))})]
54+
(or config-map.cfg
55+
(nfnl-config.cfg-fn {} {:root-dir (fs.file-name-root path)})))})]
5656
(tset M.repls path r)
5757
r)))
5858

lua/conjure/client/fennel/nfnl.lua

Lines changed: 3 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)