From 17b377458820b5ae75280a577a2b0117e64feb64 Mon Sep 17 00:00:00 2001 From: rindeal Date: Thu, 23 May 2024 19:03:28 +0000 Subject: [PATCH] Update test-2.yml --- .github/workflows/test-2.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-2.yml b/.github/workflows/test-2.yml index 2cf0743..8771ef9 100644 --- a/.github/workflows/test-2.yml +++ b/.github/workflows/test-2.yml @@ -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 ""