Skip to content

Commit f18c318

Browse files
committed
ns->source returns resource
1 parent 848f4fa commit f18c318

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/clojure/cljs/cli.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ present"
318318
{:cljs.main/error :invalid-arg}))))
319319
(when main
320320
(let [src (build/ns->source main)]
321-
(when-not (io/resource src)
321+
(when-not src
322322
(throw
323323
(ex-info
324324
(str "Namespace " main " does not exist")

0 commit comments

Comments
 (0)