Skip to content

Commit

Permalink
Update test-2.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rindeal authored May 23, 2024
1 parent fc3ec69 commit 17b3774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
#echo "Testing '$value'"
# Check if the value is a readable file
if ! { file --mime-encoding "$realpath" || true } | grep -q "binary" ; then
if ! { file --mime-encoding "$realpath" 2>/dev/null || true } | grep -q "binary" ; then
# Print the header with the realpath of the file
printf '%s=File: `%s`' "$var" "$value"
[[ "$value" != "$realpath" ]] && echo " [$realpath]" || echo ""
Expand Down

0 comments on commit 17b3774

Please sign in to comment.