Skip to content

Commit 24622b3

Browse files
committed
[PRODSEC-4106] adds quotes on list argument
1 parent 156567c commit 24622b3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

git-secrets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,9 +393,9 @@ case "${COMMAND}" in
393393
--scan-history) scan_with_fn_or_die "scan_history" "$@" ;;
394394
--list)
395395
if [ ${GLOBAL} -eq 1 ]; then
396-
git config --global --get-regex secrets.*
396+
git config --global --get-regex 'secrets.*'
397397
else
398-
git config --get-regex secrets.*
398+
git config --get-regex 'secrets.*'
399399
fi
400400
;;
401401
--install)

0 commit comments

Comments
 (0)