Skip to content

Commit

Permalink
fix: print formatted file correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
liamsi committed Oct 23, 2023
1 parent a1981e6 commit 8d59a78
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/validate-gentx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,14 @@ jobs:
if [ "$formatted" != "$(cat $file)" ]; then
echo "$file gentx file not formatted"
echo "expected:"
echo $formatted
echo "$formatted"
echo "found:"
cat $file
echo ""
echo "Hexdump of file:"
head -c 100 "$file" | hexdump -C
echo "Hexdump of jq output:"
echo "$formatted" | head -c 100 | hexdump -C
exit 1
fi
done
Expand Down

0 comments on commit 8d59a78

Please sign in to comment.