Skip to content

Commit dd2c4fa

Browse files
DeLaGuardobbatsov
authored andcommitted
Fix compilation exception (#624)
Due to refactoring done in orchard resource-path function moved to dedicated namespace orchard.resource.
1 parent 7f89c3a commit dd2c4fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cider/nrepl/middleware/stacktrace.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
[nrepl.misc :refer [response-for]]
1111
[nrepl.transport :as t]
1212
[orchard.info :as info]
13+
[orchard.resource :as resource]
1314
[orchard.java :as java]
1415
[orchard.misc :as u]
1516
[orchard.namespace :as namespace])
@@ -43,7 +44,7 @@
4344
(defn- path->url
4445
"Return a url for the path, either relative to classpath, or absolute."
4546
[path]
46-
(or (info/file-path path) (second (info/resource-path path))))
47+
(or (info/file-path path) (second (resource/resource-path-tuple path))))
4748

4849
(defn- frame->url
4950
"Return a java.net.URL to the file referenced in the frame, if possible.

0 commit comments

Comments
 (0)