From 53391142b647a4c34b12e3eea87d92f49c9125b2 Mon Sep 17 00:00:00 2001 From: jamesthompson26-nhs Date: Fri, 10 Jul 2026 11:57:57 +0100 Subject: [PATCH] CCM-18514: Gitleaks Config Improvements WSL Fixes --- .github/actions/scan-secrets/scan-secrets.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/scan-secrets/scan-secrets.sh b/.github/actions/scan-secrets/scan-secrets.sh index 4776f4e..72defe7 100755 --- a/.github/actions/scan-secrets/scan-secrets.sh +++ b/.github/actions/scan-secrets/scan-secrets.sh @@ -77,9 +77,9 @@ function run-with-script() { if script-supports-command-flag; then local command_string printf -v command_string '%q ' "$@" - script -q -c "$command_string" "$output_file" + script -q -e -c "$command_string" "$output_file" else - script -q "$output_file" "$@" + script -q -e "$output_file" "$@" fi }