Skip to content

Commit 190a16e

Browse files
committed
Mention why the op is not used in with-safe-transport
1 parent 1725b88 commit 190a16e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/cider/nrepl/middleware/inspect.clj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@
130130
(and (= op "eval") inspect)
131131
(handle-eval-inspect handler msg)
132132

133+
;; This is outside of `with-safe-transport` because it streams the pretty
134+
;; printed result to the client in multiple messages. It does NOT return any
135+
;; value, which is expected by `with-safe-transport`.
133136
(= op "inspect-print-current-value")
134137
(print-current-value-reply msg)
135138

0 commit comments

Comments
 (0)