other: testing another approach to handle both cases

This commit is contained in:
Fabricio Sander
2021-03-25 20:59:41 -03:00
parent 70f47fbe7e
commit 341259c9e6

View File

@@ -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