Skip to content

Commit 9f1658d

Browse files
author
SMKRV
committed
refactor(logging): improve log output format
1 parent 47019f0 commit 9f1658d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

update_gist.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ RESPONSE=$(curl -s -X PATCH \
2828

2929
# Check the result
3030
if echo "$RESPONSE" | jq -e '.id' > /dev/null; then
31-
echo "✅ File fully replaced in Gist"
31+
echo "✅ File fully replaced in Gist (main)"
3232
else
33-
echo "❌ Error updating Gist!"
33+
echo "❌ Error updating Gist (main)!"
3434
echo "$RESPONSE"
3535
exit 1
3636
fi

update_gist_special.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ RESPONSE=$(curl -s -X PATCH \
2828

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

0 commit comments

Comments
 (0)