diff options
| author | sigoden <sigoden@gmail.com> | 2024-11-04 07:27:47 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-04 07:27:47 +0800 |
| commit | afbd03f963b08419a3835c9473d757bf936c8b92 (patch) | |
| tree | dfe8e09eaa15ab2a58b6b46ccaf7defa7027f1d2 /scripts/build-declarations.sh | |
| parent | 2cac7d90c87c27534d69a9ac76baf7c528246713 (diff) | |
| download | llm-functions-docker-afbd03f963b08419a3835c9473d757bf936c8b92.tar.gz | |
fix(scripts): ignore declarations without a description (#122)
Diffstat (limited to 'scripts/build-declarations.sh')
| -rwxr-xr-x | scripts/build-declarations.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-declarations.sh b/scripts/build-declarations.sh index f01ad7d..af23590 100755 --- a/scripts/build-declarations.sh +++ b/scripts/build-declarations.sh @@ -59,7 +59,7 @@ build_declarations() { parameters: parse_parameter([.flag_options[] | select(.id != "help" and .id != "version")]) }; [ - .[] | parse_declaration | select(.name | startswith("_") | not) + .[] | parse_declaration | select(.name | startswith("_") | not) | select(.description != "") ]' } |
