refactor: improve scripts/run-{tool,agent}.sh (#97)
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@ def to_args:
|
||||
[ to_args ] | join(" ")
|
||||
EOF
|
||||
)"
|
||||
args="$(echo "$tool_data" | jq -r "$jq_script")" || {
|
||||
args="$(echo "$tool_data" | jq -r "$jq_script" 2>/dev/null)" || {
|
||||
die "Invalid JSON data"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user