[#536] limit search for manifest to jar file
This commit is contained in:
parent
916858e016
commit
d98316a477
1 changed files with 1 additions and 1 deletions
|
|
@ -506,7 +506,7 @@ If neither -e, -f, or --socket-repl are specified, then the first argument that
|
|||
(System/setProperty "babashka.file" abs-path)))
|
||||
main (if (and jar (not main))
|
||||
(when-let [res (cp/getResource
|
||||
(:loader @cp-state)
|
||||
(cp/loader jar)
|
||||
["META-INF/MANIFEST.MF"] {:url? true})]
|
||||
(cp/main-ns res))
|
||||
main)
|
||||
|
|
|
|||
Loading…
Reference in a new issue