From 341259c9e6420252eaaa8d5f079f3bfe261b4d4f Mon Sep 17 00:00:00 2001 From: Fabricio Sander Date: Thu, 25 Mar 2021 20:59:41 -0300 Subject: [PATCH] other: testing another approach to handle both cases --- entrypoint.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 0705eef..c8802ba 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -51,8 +51,7 @@ fi echo "Prettifying files..." echo "Files:" -prettier $INPUT_PRETTIER_OPTIONS -PRETTIER_RESULT=$? +PRETTIER_RESULT=$(prettier $INPUT_PRETTIER_OPTIONS) # To keep runtime good, just continue if something was changed if _git_changed; then