Jelajahi Sumber

chore(ci): do not colorize JSON in jq output

Zaiming Shi 4 tahun lalu
induk
melakukan
e012e77ce6
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      .ci/fvt_tests/relup.lux

+ 2 - 2
.ci/fvt_tests/relup.lux

@@ -142,11 +142,11 @@
     ???SH-PROMPT
 
 [shell bench]
-    !curl --user admin:public --silent --show-error http://localhost:8081/api/v4/rules | jq --raw-output ".data[0].metrics[] | select(.node==\"emqx@127.0.0.1\").matched"
+    !curl --user admin:public --silent --show-error http://localhost:8081/api/v4/rules | jq -M --raw-output ".data[0].metrics[] | select(.node==\"emqx@127.0.0.1\").matched"
     ?300
     ?SH-PROMPT
 
-    !curl --user admin:public --silent --show-error http://localhost:8081/api/v4/rules | jq --raw-output ".data[0].actions[0].metrics[] | select(.node==\"emqx@127.0.0.1\").success"
+    !curl --user admin:public --silent --show-error http://localhost:8081/api/v4/rules | jq -M --raw-output ".data[0].actions[0].metrics[] | select(.node==\"emqx@127.0.0.1\").success"
     ?300
     ?SH-PROMPT