Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Commit

Permalink
Use .lumo-cache as source map :output-dir
Browse files Browse the repository at this point in the history
  • Loading branch information
arichiardi committed May 15, 2018
1 parent 13dd081 commit 6272fd0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cljs/snapshot/lumo/repl.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,10 @@
#_(when-let [data (and print-ex-data? (ex-data error))]
(print-value data {::as-code? false}))
(when stacktrace?
(let [opts {:output-dir "file://(/goog/..)?"}
;; .lumo-cache seems more appropriate, see examples in core:
;; https://github.com/clojure/clojurescript/blob/20a6e1fcd8724ad65a3776112dcc7bfd5124a094/src/main/cljs/cljs/stacktrace.cljc#L206
;; https://github.com/clojure/clojurescript/blob/20a6e1fcd8724ad65a3776112dcc7bfd5124a094/src/main/cljs/cljs/stacktrace.cljc#L537-L551
(let [opts {:output-dir ".lumo_cache"}
canonical-stacktrace (into []
stacktrace-patch-xf
(st/parse-stacktrace
Expand Down

0 comments on commit 6272fd0

Please sign in to comment.