Skip to content

Find, verify, and analyze leaked credentials

ensure stdout is still provided (#1217)

Mike Vanbuskirkc78d10149b87
diff --git a/entrypoint.sh b/entrypoint.sh
index 6b03b2c09..ad5cfae71 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -3,5 +3,5 @@
# Parse the last argument into an array of extra_args.
mapfile -t extra_args < <(bash -c "for arg in ${*: -1}; do echo \$arg; done")
-results=$(/usr/bin/trufflehog "${@: 1: $#-1}" "${extra_args[@]}")
+results=$(/usr/bin/trufflehog "${@: 1: $#-1}" "${extra_args[@]}" | tee /dev/tty)
echo "results=$results" >> $GITHUB_OUTPUT