mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-16 13:20:32 +02:00
fix: fixes codefactor recommendation
This commit is contained in:
@@ -57,7 +57,7 @@ prettier $INPUT_PRETTIER_OPTIONS || { PRETTIER_RESULT=$?; echo "Problem running
|
|||||||
# To keep runtime good, just continue if something was changed
|
# To keep runtime good, just continue if something was changed
|
||||||
if _git_changed; then
|
if _git_changed; then
|
||||||
if $INPUT_DRY; then
|
if $INPUT_DRY; then
|
||||||
if [[ "$PRETTIER_RESULT" -eq 1 ]]; then
|
if [ "$PRETTIER_RESULT" -eq 1 ]; then
|
||||||
echo "Prettier found unpretty files!"
|
echo "Prettier found unpretty files!"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user