fix: fixes codefactor recommendation

This commit is contained in:
Fabricio Sander
2021-03-25 21:56:57 -03:00
parent 2069f26b6e
commit c2e2730594

View File

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