Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
ertugrulcetin committed Jun 15, 2020
1 parent 24660a1 commit b73fb9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject ertu/nrebl.middleware "0.1.2"
(defproject ertu/nrebl.middleware "0.1.3"
:description "An nREPL and cider middleware for capturing and
browsing data in REBL."
:url "https://github.com/Swirrl/matcha"
Expand Down
5 changes: 3 additions & 2 deletions src/nrebl/middleware.clj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@


(defn send-to-rebl! [{:keys [code] :as req} {:keys [value] :as resp}]
(println "Response: " resp)
(when (and code (contains? resp :value))
(when (and code
(contains? resp :value)
(-> value symbol namespace (not= "cursive.repl.runtime")))
(rebl/submit (read-string code) value))
resp)

Expand Down

0 comments on commit b73fb9d

Please sign in to comment.