Skip to content

Commit 3cf2225

Browse files
committed
fix recursive load-middlware call
1 parent 6eed80d commit 3cf2225

File tree

1 file changed

+3
-3
lines changed
  • src/main/shadow/cljs/devtools/server

1 file changed

+3
-3
lines changed

src/main/shadow/cljs/devtools/server/nrepl.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@
6565

6666
(defn load-middleware
6767
"loads vars for a sequence of symbols, expands if var refers to a vector of symbols"
68-
[input]
68+
[input output]
6969
(loop [[sym & more :as rem] input
70-
output []]
70+
output output]
7171
(cond
7272
(not (seq rem))
7373
output
@@ -102,7 +102,7 @@
102102

103103
(into [`shadow-init ;; for :init-ns support
104104
`middleware])
105-
(load-middleware)))
105+
(load-middleware [])))
106106

107107
(defn start [config]
108108
(let [merged-config

0 commit comments

Comments
 (0)