Просмотр исходного кода

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

Zaiming Shi 4 лет назад
Родитель
Сommit
e012e77ce6
1 измененных файлов с 2 добавлено и 2 удалено
  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