Skip to content

Commit 34e3980

Browse files
committed
update cljs.closure/get-upstream-deps* docstring, using anything
but the current thread classloader is not a good idea
1 parent 18fae8b commit 34e3980

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/clj/cljs/closure.clj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,9 +1206,7 @@ should contain the source for the given namespace name."
12061206

12071207
(defn get-upstream-deps*
12081208
"returns a merged map containing all upstream dependencies defined
1209-
by libraries on the classpath. Should be run in the main thread. If
1210-
not, pass (java.lang.ClassLoader/getSystemClassLoader) to use the
1211-
system classloader."
1209+
by libraries on the classpath."
12121210
([]
12131211
(get-upstream-deps* (. (Thread/currentThread) (getContextClassLoader))))
12141212
([classloader]

0 commit comments

Comments
 (0)