Skip to content

Commit

Permalink
Fixed wrong detection of CLJS
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricioszabo committed Mar 19, 2021
1 parent b659023 commit 823c61f
Show file tree
Hide file tree
Showing 2 changed files with 3 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 repl-tooling "0.5.8"
(defproject repl-tooling "0.5.9"
:dependencies [[org.clojure/core.async "0.4.490"]
[com.cognitect/transit-cljs "0.8.264"]
[reagent "0.10.0"]
Expand Down
4 changes: 2 additions & 2 deletions src/repl_tooling/integrations/connection.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
(do
(repls/disconnect! id)
ret)
(let [success (p/let [{:keys [result]} (eval/eval ret "(/ 10 0)" {:ignore true})]
(if (= result "##Inf")
(let [success (p/let [{:keys [as-text]} (eval/eval ret "(/ 10 0)" {:ignore true})]
(if (= as-text "##Inf")
ret
(do
(repls/disconnect! id)
Expand Down

0 comments on commit 823c61f

Please sign in to comment.