Skip to content

Commit

Permalink
ensure stdout is still provided (#1217)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Vanbuskirk authored Mar 28, 2023
1 parent cb454bf commit c78d101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c78d101

Please sign in to comment.