ensure stdout is still provided (#1217)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user