From 4895aa0c423a7600f3d48f0a92a6915b28d2bcd4 Mon Sep 17 00:00:00 2001 From: Elliu <elliu@hashi.re> Date: Mon, 15 Aug 2022 22:30:39 +0200 Subject: [PATCH] Format pack.json as json at pack creation --- stpkg | 1 + 1 file changed, 1 insertion(+) diff --git a/stpkg b/stpkg index a0c2f13..a074f17 100755 --- a/stpkg +++ b/stpkg @@ -814,6 +814,7 @@ __pack() { find $DEST_FOLDER -type f \( ! -name "preview.png" -and ! -name "$PACK_NAME.json" \) -exec rm {} \; echo -n "]}" >> $DEST_INDEX + cat $DEST_INDEX | jq | sponge $DEST_INDEX info "Pack created, you can now commit it and create a MR to share it with other users" } -- GitLab