From 9460489d96cdf71dedbc7142071263c04ecf2f6b Mon Sep 17 00:00:00 2001 From: Ghais Zaher Date: Thu, 29 Feb 2024 09:03:37 +0100 Subject: [PATCH] more debug --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index fc2bd12..09300dd 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -38,9 +38,11 @@ echo "ktlint version: $ktlint_version" # ktlint_version > 0.49.1 if [ "$(printf '%s\n' "0.49.1" "$ktlint_version" | sort -V | head -n1)" = "0.49.1" ]; then + echo "ktlint version > 0.49.1" # --code-style is deprecated since 1.0.1 and .editorconfig needs to be used: https://pinterest.github.io/ktlint/latest/rules/code-styles/ # ktlint_version <= 1.0.0 if [ "$(printf '%s\n' "1.0.0" "$ktlint_version" | sort -V | tail -n1)" = "1.0.0" ]; then + echo "ktlint version <= 1.0.0" if [ "$INPUT_ANDROID" = true ]; then export ANDROID="--code-style=android_studio" else