Skip to content

Commit

Permalink
accounting for deleted files
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-jameson committed Dec 5, 2024
1 parent 13758cb commit 679f2c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion scripts/git-secrets-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fi
if [ $islocal ]; then
echo "git-secrets-check.sh: Scanning files staged for commit ..."
setopt shwordsplit
staged_files=$(git diff --cached --name-status | grep -vE "^R[0-9]+"| cut -f2 | xargs)
staged_files=$(git diff --cached --name-status | grep -vE "D|^R[0-9]+"| cut -f2 | xargs)

for filename in $staged_files; do
echo "git-secrets-check.sh: Scanning $filename ..."
Expand Down
9 changes: 0 additions & 9 deletions tdrs-backend/plg/alertmanager/alertmanager.yml

This file was deleted.

0 comments on commit 679f2c4

Please sign in to comment.