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" \
|
rg -n -F '$JS.API' "$go_file" \
|
||||||
| awk -F: '{print $3}' \
|
| 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.>").
|
# Some Go constants are coarse patterns (e.g. "$JS.API.STREAM.>").
|
||||||
# Add explicit subject families used by parity tests/docs.
|
# Add explicit subject families used by parity tests/docs.
|
||||||
|
|||||||
Reference in New Issue
Block a user