Skip to content

Commit bb4d730

Browse files
paulrdbbatsov
authored andcommitted
Read from disk as edn data (subset of clojure is safer)
1 parent 2fababe commit bb4d730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/refactor_nrepl/artifacts.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
;; structure here is {"prismatic/schem" ["0.1.1" "0.2.0" ...]}
2626
(defonce artifacts (atom (if (.exists (io/as-file artifacts-file))
27-
(->> artifacts-file slurp read-string (into (sorted-map)))
27+
(->> artifacts-file slurp edn/read-string (into (sorted-map)))
2828
{})
2929
:meta {:last-modified
3030
(get-last-modified-from-file artifacts-file)}))

0 commit comments

Comments
 (0)