From c2e2730594c7f4286b43b7d43c6b3a18c5e05523 Mon Sep 17 00:00:00 2001 From: Fabricio Sander Date: Thu, 25 Mar 2021 21:56:57 -0300 Subject: [PATCH] fix: fixes codefactor recommendation --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index f61da4b..501660f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -57,7 +57,7 @@ prettier $INPUT_PRETTIER_OPTIONS || { PRETTIER_RESULT=$?; echo "Problem running # To keep runtime good, just continue if something was changed if _git_changed; then if $INPUT_DRY; then - if [[ "$PRETTIER_RESULT" -eq 1 ]]; then + if [ "$PRETTIER_RESULT" -eq 1 ]; then echo "Prettier found unpretty files!" exit 1 else