Commit a7e754dd by Andy Armstrong

Exclude deleted files from safe template linting

parent 06fa0839
...@@ -67,7 +67,7 @@ fi ...@@ -67,7 +67,7 @@ fi
merge_base_command="git merge-base $current_branch_hash $MAIN_COMMIT" merge_base_command="git merge-base $current_branch_hash $MAIN_COMMIT"
merge_base=$(${merge_base_command}) 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}) diff_files=$(${diff_command})
if [ "$diff_files" = "" ]; then if [ "$diff_files" = "" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment