Commit 7ea7917
fix: extract additionalArgs as raw CLI arguments instead of --additionalArgs=value
Previously, `additionalArgs` (e.g., `["--sarif-include-query-help=always"]`)
stayed in the options object and was processed by `buildCodeQLArgs` into
`--additionalArgs=--sarif-include-query-help=always`, which is invalid.
Now `additionalArgs` is extracted from options before CLI arg building and
appended as raw arguments after positional args, so args like
`--sarif-include-query-help=always` and `--no-sarif-minify` are passed
through correctly to the `codeql` CLI.
Agent-Logs-Url: https://github.com/advanced-security/codeql-development-mcp-server/sessions/ff382e0c-2894-422a-a9c8-22c431c9a77a
Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>1 parent 22f15c3 commit 7ea7917
File tree
4 files changed
+140
-6
lines changed- server
- dist
- src/lib
- test/src/lib
4 files changed
+140
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57338 | 57338 | | |
57339 | 57339 | | |
57340 | 57340 | | |
| 57341 | + | |
| 57342 | + | |
57341 | 57343 | | |
57342 | 57344 | | |
57343 | 57345 | | |
| |||
57353 | 57355 | | |
57354 | 57356 | | |
57355 | 57357 | | |
57356 | | - | |
| 57358 | + | |
57357 | 57359 | | |
57358 | | - | |
| 57360 | + | |
57359 | 57361 | | |
57360 | 57362 | | |
57361 | 57363 | | |
| |||
0 commit comments