mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-16 13:20:32 +02:00
Fixed a bug with new dry option
This commit is contained in:
@@ -44,7 +44,7 @@ echo "Files:"
|
|||||||
prettier $INPUT_PRETTIER_OPTIONS || echo "Problem while prettifying your files with options $INPUT_PRETTIER_OPTIONS."
|
prettier $INPUT_PRETTIER_OPTIONS || echo "Problem while prettifying your files with options $INPUT_PRETTIER_OPTIONS."
|
||||||
|
|
||||||
# To keep runtime good, just continue if something was changed
|
# To keep runtime good, just continue if something was changed
|
||||||
if [! $INPUT_DRY] && [_git_changed];
|
if ! $INPUT_DRY && _git_changed;
|
||||||
then
|
then
|
||||||
# Calling method to configure the git environemnt
|
# Calling method to configure the git environemnt
|
||||||
_git_setup
|
_git_setup
|
||||||
|
|||||||
Reference in New Issue
Block a user