Skip to content

Commit

Permalink
switch to new gitleaks syntax (8.19.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
Okeanos committed Sep 23, 2024
1 parent e31aebc commit b8ff5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stow/shell/dot-config/bash/functions
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ function handle-secrets {
if [[ -f .gitleaksignore ]]; then
ignore_file_contents=$(cat .gitleaksignore)
fi
gitleaks detect --verbose --report-format=json --report-path="${report_file}" --exit-code=0 &>/dev/null
gitleaks git --verbose --report-format=json --report-path="${report_file}" --exit-code=0 . &>/dev/null
popd >/dev/null

if [[ -f ${report_file} ]]; then
Expand Down

0 comments on commit b8ff5ce

Please sign in to comment.