diff --git a/src/babashka/pods/jvm.clj b/src/babashka/pods/jvm.clj index b60c36e..87be27b 100644 --- a/src/babashka/pods/jvm.clj +++ b/src/babashka/pods/jvm.clj @@ -6,7 +6,7 @@ (defn- unroot-resource [^String path] (symbol (.. path (substring 1) - (replace \/ \. ) + (replace \/ \.) (replace \_ \-)))) (defn- process-namespace [{:keys [:name :vars]}] diff --git a/test-pod/pod/test_pod.clj b/test-pod/pod/test_pod.clj index cc81ccd..8e483b5 100644 --- a/test-pod/pod/test_pod.clj +++ b/test-pod/pod/test_pod.clj @@ -270,6 +270,6 @@ (defn -main [& args] #_(binding [*out* *err*] - (prn :args args)) + (prn :args args)) (when (= "true" (System/getenv "BABASHKA_POD")) (run-pod (set args)))) diff --git a/test/babashka/pods/sci_test.clj b/test/babashka/pods/sci_test.clj index 4f14c10..aa77a3a 100644 --- a/test/babashka/pods/sci_test.clj +++ b/test/babashka/pods/sci_test.clj @@ -36,4 +36,4 @@ (catch Exception e e)))] (is (str/includes? (str out) "c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2")) - (is (str/includes? (pr-str ex) "Version must be provided" )))) + (is (str/includes? (pr-str ex) "Version must be provided"))))