Exclude deleted files from safe template linting
This commit is contained in:
@@ -67,7 +67,7 @@ fi
|
||||
|
||||
merge_base_command="git merge-base $current_branch_hash $MAIN_COMMIT"
|
||||
merge_base=$(${merge_base_command})
|
||||
diff_command="git diff --name-only --diff-filter=ACM $current_branch_hash $merge_base"
|
||||
diff_command="git diff --name-only --diff-filter=ACM $merge_base $current_branch_hash"
|
||||
diff_files=$(${diff_command})
|
||||
|
||||
if [ "$diff_files" = "" ]; then
|
||||
|
||||
Reference in New Issue
Block a user