Skip to content

Commit 7c55f47

Browse files
committed
Revert - Push to history even when :render-path-annotations is false to enable circular object detection
1 parent da66f82 commit 7c55f47

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib/devtools/formatters/printing.cljs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@
125125
circular? (is-circular? obj)
126126
inner-writer (make-template-writer (:markup-db opts))
127127
path-info (get-current-path-info)]
128-
(when (pref :render-path-annotations)
129-
(push-object-to-current-history! obj))
128+
(push-object-to-current-history! obj)
130129
(alt-printer-job obj inner-writer opts)
131130
(.merge writer (post-process-printed-output (.get-group inner-writer) obj markup-db circular? path-info)))))
132131

0 commit comments

Comments
 (0)