From 2b4cfc44a30fcad55a0379758ddf317ebadf17c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Bergstro=CC=88m?= Date: Sat, 3 Feb 2024 07:50:45 -0300 Subject: [PATCH] fix: remove space in debug output The extra space made the debug string into a plain string, always being shown. PR: https://github.com/jbergstroem/hadolint-gh-action/pull/141 --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index b7a4c63..c5a4560 100755 --- a/install.sh +++ b/install.sh @@ -35,4 +35,5 @@ if [ "${DOWNLOAD}" == "true" ]; then chmod +x /usr/local/bin/hadolint fi -echo "::debug:: $(hadolint --version | cut -d " " -f 4 2>&1) installed successfully" +new_version=$(hadolint --version | cut -d ' ' -f 4 2>&1) +echo "::debug::Hadolint ${new_version} installed successfully"