diff --git a/hellotech/.jq/ht.jq b/hellotech/.jq/ht.jq new file mode 100644 index 0000000..7413390 --- /dev/null +++ b/hellotech/.jq/ht.jq @@ -0,0 +1,6 @@ +def lift_payload: .[].jsonPayload; +def lift_error: + lift_payload + | select(.error) + | .error.Error |= (sub("\n+$"; ""; "gm") | sub("\t\\*"; " →"; "g")) +;