diff options
Diffstat (limited to 'Argcfile.sh')
| -rw-r--r-- | Argcfile.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Argcfile.sh b/Argcfile.sh index 7c1e859..9863c29 100644 --- a/Argcfile.sh +++ b/Argcfile.sh @@ -162,6 +162,9 @@ build-declarations@tool() { json_data="$(generate-declarations@tool "$name" | jq -r '.[0]')" || { build_failed_tools+=("$name") } + if [[ "$json_data" == "null" ]]; then + _die "error: failed to build declartions for tool $name" + fi json_list+=("$json_data") done if [[ -n "$not_found_tools" ]]; then |
