From df06d9c532bc2514a0f4a9c489d0c1116bfdf32d Mon Sep 17 00:00:00 2001 From: Matus Faro Date: Mon, 9 Dec 2024 23:20:33 -0500 Subject: [PATCH] Add debug info when cli install fails --- .../src/main/jreleaser/template/asdf/lib/utils.bash.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/dataspray-cli/src/main/jreleaser/template/asdf/lib/utils.bash.tpl b/dataspray-cli/src/main/jreleaser/template/asdf/lib/utils.bash.tpl index 818b4e7..1eac913 100644 --- a/dataspray-cli/src/main/jreleaser/template/asdf/lib/utils.bash.tpl +++ b/dataspray-cli/src/main/jreleaser/template/asdf/lib/utils.bash.tpl @@ -100,6 +100,7 @@ install_version() { local tool_cmd eval "$install_path/bin/$TOOL_TEST" >/dev/null 2>&1 if [ $? -ne 0 ]; then + eval "$install_path/bin/$TOOL_TEST" fail "Failed to test run tool with $install_path/bin/$TOOL_TEST" fi