mirror of
https://github.com/tj-actions/changed-files
synced 2024-12-17 03:47:20 +00:00
Update diff-sha.sh
This commit is contained in:
parent
40f3d5695f
commit
e034ba961f
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ else
|
|||
if [[ -z "$INPUT_BASE_SHA" ]]; then
|
||||
NEW_PREVIOUS_SHA=$(git merge-base --fork-point "$TARGET_BRANCH" "$CURRENT_SHA")
|
||||
|
||||
if [[ -n $NEW_PREVIOUS_SHA ]]; then
|
||||
if [[ -n "$NEW_PREVIOUS_SHA" ]]; then
|
||||
PREVIOUS_SHA=$NEW_PREVIOUS_SHA
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue