Skip to content

Commit

Permalink
Merge pull request #406 from celestiaorg/fix-n-improve-jq-output
Browse files Browse the repository at this point in the history
fix: print formatted file correctly
  • Loading branch information
liamsi authored Oct 23, 2023
2 parents 6c0374b + 8d59a78 commit 2d8151c
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 2d8151c

Please sign in to comment.