update eval output

This commit is contained in:
Gilles Grandou 2022-04-24 16:19:27 +02:00
parent c69c4775a0
commit 729dad3fe9

View File

@ -8,6 +8,7 @@ curl -s -X POST \
-d '{"id":1, "method":"Script.Eval", "params":{"id":'$SCRIPT_ID', "code":"'$@'"}}' \ -d '{"id":1, "method":"Script.Eval", "params":{"id":'$SCRIPT_ID', "code":"'$@'"}}' \
$SHELLY_RPC > .inspect.json $SHELLY_RPC > .inspect.json
cat .inspect.json | jq .error.message
cat .inspect.json | jq .result.result -r | jq . cat .inspect.json | jq .result.result -r | jq .
rm -f .inspect.json rm -f .inspect.json