We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38657af commit 99ac4edCopy full SHA for 99ac4ed
src/nextjournal/clerk/eval.clj
@@ -288,10 +288,10 @@
288
(let [{:as analyzed-doc :keys [ns]}
289
(cond
290
no-cache
291
- parsed-doc
+ (analyzer/analyze-doc parsed-doc)
292
293
config/cache-disabled?
294
- (assoc parsed-doc :no-cache true)
+ (assoc (analyzer/analyze-doc parsed-doc) :no-cache true)
295
296
:else
297
(do
test/nextjournal/clerk/eval_test.clj
@@ -337,7 +337,7 @@
337
^{::clerk/visibility {:code :hide} ::clerk/viewer show-text}
338
(def x 1)"
339
(not cache?)))]
340
- (doseq [cache? [true #_false]]
+ (doseq [cache? [true false]]
341
(is (match? {:nextjournal.clerk/var-from-def var?
342
:nextjournal.clerk/var-snapshot 1}
343
(-> (eval/eval-string (notebook cache?))
0 commit comments