File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 2868
2868
(pr-str analysis)))
2869
2869
" json" (when-let [{:keys [writer write]} @transit]
2870
2870
(write
2871
- (writer (FileOutputStream. cache-file) :json )
2871
+ (writer (FileOutputStream. cache-file) :json
2872
+ transit-write-opts)
2872
2873
analysis))))
2873
2874
(when src
2874
2875
(.setLastModified ^File cache-file (util/last-modified src))))))
2936
2937
cached-ns (case ext
2937
2938
" edn" (edn/read-string (slurp cache))
2938
2939
" json" (let [{:keys [reader read]} @transit]
2939
- (read (reader (io/input-stream cache) :json ))))]
2940
+ (read (reader (io/input-stream cache) :json
2941
+ transit-read-opts))))]
2940
2942
(when (or *verbose* (:verbose opts))
2941
2943
(util/debug-prn " Reading analysis cache for" (str res)))
2942
2944
(swap! env/*compiler*
You can’t perform that action at this time.
0 commit comments