From b8ff5cee53d293f3a5016f7ee27965a28bd542b5 Mon Sep 17 00:00:00 2001 From: Nikolas Grottendieck Date: Mon, 23 Sep 2024 18:19:32 +0200 Subject: [PATCH] switch to new gitleaks syntax (8.19.0) See https://github.com/gitleaks/gitleaks/releases/tag/v8.19.0 --- stow/shell/dot-config/bash/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stow/shell/dot-config/bash/functions b/stow/shell/dot-config/bash/functions index 05096ad6347..a03c90bc887 100644 --- a/stow/shell/dot-config/bash/functions +++ b/stow/shell/dot-config/bash/functions @@ -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