mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-12 19:30:30 +02:00
other: testing another approach to handle both cases
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user