fix: normalize Go wildcard API subjects in gap inventory
This commit is contained in:
@@ -8,7 +8,8 @@ if [[ -f "$go_file" ]]; then
|
||||
{
|
||||
rg -n -F '$JS.API' "$go_file" \
|
||||
| awk -F: '{print $3}' \
|
||||
| sed -E 's/.*"(\$JS\.API[^\"]+)".*/\1/'
|
||||
| sed -E 's/.*"(\$JS\.API[^\"]+)".*/\1/' \
|
||||
| awk '/^\$JS\.API/ && $0 !~ /\.>$/'
|
||||
|
||||
# Some Go constants are coarse patterns (e.g. "$JS.API.STREAM.>").
|
||||
# Add explicit subject families used by parity tests/docs.
|
||||
|
||||
Reference in New Issue
Block a user