We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2270931 + d574502 commit 62f409aCopy full SHA for 62f409a
src/io/perun.clj
@@ -168,9 +168,11 @@
168
[{:keys [task-name inputs tracer pod global-meta render-form-fn]}]
169
(trace tracer
170
(for [[path input] inputs]
171
- (do
+ (let [[f :as render-form] (render-form-fn input)
172
+ render-ns (symbol (namespace f))]
173
(perun/report-debug task-name "rendered page for path" path)
- (merge (pod/with-call-in @pod ~(render-form-fn input))
174
+ (pod/with-eval-in @pod (require '~render-ns))
175
+ (merge (pod/with-call-in @pod ~render-form)
176
(pm/path-meta path global-meta))))))
177
178
(defn diff-inputs-meta
0 commit comments