mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-12 19:30:30 +02:00
fix: fixed codacy error
This commit is contained in:
@@ -87,7 +87,7 @@ fi
|
|||||||
|
|
||||||
# If running under only_changed, reset every modified file that wasn't also modified in the last commit
|
# If running under only_changed, reset every modified file that wasn't also modified in the last commit
|
||||||
# This allows only_changed and dry to work together, and simplified the non-dry logic below
|
# This allows only_changed and dry to work together, and simplified the non-dry logic below
|
||||||
if [ $INPUT_ONLY_CHANGED = true] || [$INPUT_ONLY_CHANGED_PR = true ] ; then
|
if [ $INPUT_ONLY_CHANGED = true ] || [$INPUT_ONLY_CHANGED_PR = true ] ; then
|
||||||
BASE_BRANCH=origin/$GITHUB_BASE_REF
|
BASE_BRANCH=origin/$GITHUB_BASE_REF
|
||||||
if $INPUT_ONLY_CHANGED; then
|
if $INPUT_ONLY_CHANGED; then
|
||||||
BASE_BRANCH=HEAD~1
|
BASE_BRANCH=HEAD~1
|
||||||
|
|||||||
Reference in New Issue
Block a user