Skip to content

Commit

Permalink
refactor(logging): improve log output format
Browse files Browse the repository at this point in the history
  • Loading branch information
SMKRV committed Jan 23, 2025
1 parent 47019f0 commit 9f1658d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions update_gist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ RESPONSE=$(curl -s -X PATCH \

# Check the result
if echo "$RESPONSE" | jq -e '.id' > /dev/null; then
echo "✅ File fully replaced in Gist"
echo "✅ File fully replaced in Gist (main)"
else
echo "❌ Error updating Gist!"
echo "❌ Error updating Gist (main)!"
echo "$RESPONSE"
exit 1
fi
4 changes: 2 additions & 2 deletions update_gist_special.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ RESPONSE=$(curl -s -X PATCH \

# Check the result
if echo "$RESPONSE" | jq -e '.id' > /dev/null; then
echo "✅ File fully replaced in Gist"
echo "✅ File fully replaced in Gist (special)"
else
echo "❌ Error updating Gist!"
echo "❌ Error updating Gist (special)!"
echo "$RESPONSE"
exit 1
fi

0 comments on commit 9f1658d

Please sign in to comment.