Publish script: don't stop if wandbox fails

This commit is contained in:
Benoit Blanchon committed 2022-01-14 09:22:55 +01:00
1 parent 6ea2815341
commit dea8387586
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ compile() {
END
URL=$(curl -sS -H "Content-type: application/json" -d @parameters.json https://wandbox.org/api/compile.json | jq --raw-output .url)
rm parameters.json
echo "$1: $URL"
[ -n "$URL" ] && echo "$1: $URL"
}
compile "JsonGeneratorExample"