mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-15 12:50:31 +02:00
other: testing another approach to handle both cases
This commit is contained in:
@@ -51,8 +51,7 @@ fi
|
|||||||
|
|
||||||
echo "Prettifying files..."
|
echo "Prettifying files..."
|
||||||
echo "Files:"
|
echo "Files:"
|
||||||
prettier $INPUT_PRETTIER_OPTIONS
|
PRETTIER_RESULT=$(prettier $INPUT_PRETTIER_OPTIONS)
|
||||||
PRETTIER_RESULT=$?
|
|
||||||
|
|
||||||
# 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
|
||||||
|
|||||||
Reference in New Issue
Block a user