Skip to content

Commit f01d3b4

Browse files
committed
Fix cell counter in exec status
1 parent c4f5fe1 commit f01d3b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nextjournal/clerk/eval.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
{:as evaluated-doc :keys [blob-ids]}
224224
(reduce (fn [state cell]
225225
(when (and (parser/code? cell) set-status-fn)
226-
(set-status-fn (->eval-status analyzed-doc (inc (count (filter parser/code? (:blocks state)))) cell)))
226+
(set-status-fn (->eval-status analyzed-doc (count (filter parser/code? (:blocks state))) cell)))
227227
(let [state-with-deref-deps-evaluated (analyzer/hash-deref-deps state cell)
228228
{:as result :nextjournal/keys [blob-id]} (when (parser/code? cell)
229229
(read+eval-cached state-with-deref-deps-evaluated cell))]

0 commit comments

Comments
 (0)