Skip to content

Weave v1.19.1

Choose a tag to compare

@AGM1968 AGM1968 released this 08 Mar 12:48
· 168 commits to main since this release

Fixed

  • Bash CC parser: structural brace matching — counted braces inside strings ("${var}"), parameter expansions (${#arr[@]}), and jq expressions as structural. Fixed by only counting { on function-definition lines and } on standalone lines.
  • Bash CC parser: one-liner functions — func() { ...; } definitions caused ranges to extend to EOF. Fixed by detecting } at end of definition line.
  • Bash CC parser: heredoc content — } inside heredocs was counted as structural. Fixed by tracking heredoc boundaries.

These fixes affect wv quality functions output for bash files. CC values for some functions were inflated by 10-40x.