Skip to content

Commit

Permalink
Fix ClojureScript evals
Browse files Browse the repository at this point in the history
  • Loading branch information
Olical committed May 4, 2019
1 parent e40a09e commit 2f43ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conjure/code.clj
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
(str "
(in-ns '" (or ns "cljs.user") ")
(try
[:ok " code "\n]
[:ok (do " code "\n)]
(catch :default e
(let [emap (cljs.repl/Error->map e)]
(println (-> emap cljs.repl/ex-triage cljs.repl/ex-str))
Expand Down

0 comments on commit 2f43ac5

Please sign in to comment.