From 9f6391af77246a4c80deb255b26f82bdd19d9981 Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Sat, 28 Oct 2023 17:40:31 -0700 Subject: [PATCH] prep for v0.3.0 fix #4 --- CHANGELOG.md | 3 +++ .../src/org/corfield/external_test_runner/core.clj | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 22ed3c6..7e8c04e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changes +v0.3.0 -- 2023-10-28 +* Fix [#4](https://github.com/seancorfield/polylith-external-test-runner/issues/4) by guarding `str/split` with `when java-opts`. + v0.2.0 f208856 -- 2023-02-23 * Fix [#3](https://github.com/seancorfield/polylith-external-test-runner/issues/3) by switching to `tools.deps` and updating dependencies. diff --git a/components/external-test-runner/src/org/corfield/external_test_runner/core.clj b/components/external-test-runner/src/org/corfield/external_test_runner/core.clj index a043645..7e65729 100644 --- a/components/external-test-runner/src/org/corfield/external_test_runner/core.clj +++ b/components/external-test-runner/src/org/corfield/external_test_runner/core.clj @@ -104,7 +104,7 @@ (keyword (subs java-opts 1))) java-opts (if opt-key (into [] (remove nil?) (chase-opts-key (get-project-aliases) opt-key)) - (str/split java-opts #" "))] + (when java-opts (str/split java-opts #" ")))] (reify test-runner-contract/TestRunner (test-runner-name [_] "Polylith org.corfield.external-test-runner")