Commit 00aaac3
committed
mcp: prefer ast-grep binary over deprecated sg alias
Newer @ast-grep/cli deprecated the `sg` alias and prints a
"WARNING: `sg` is deprecated" banner into the captured --json output,
which corrupts the parse in cpp_grep_usage / cpp_find_symbol / cpp_outline
(the 21 'Failed to parse ast-grep output: invalid character =' failures in
run_utils_tests). Prefer the canonical `ast-grep` binary (ships in the same
package, emits clean JSON); keep `sg` as a fallback for older installs.
Repo-wide CI issue, present on master too (extended checks #3550).1 parent 559875e commit 00aaac3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments