Merge pull request #664 from richardkmichael/fix-dashed-mcp-args
fix: Argument notation to allow parseArgs to parse leading dash-options
This commit is contained in:
commit
cf44b30bcc
1 changed files with 4 additions and 4 deletions
|
|
@ -91,10 +91,10 @@ async function startProdServer(serverOptions) {
|
|||
"node",
|
||||
[
|
||||
inspectorServerPath,
|
||||
...(command ? [`--command`, command] : []),
|
||||
...(mcpServerArgs && mcpServerArgs.length > 0
|
||||
? [`--args`, mcpServerArgs.join(" ")]
|
||||
: []),
|
||||
command ? `--command=${command}` : "",
|
||||
mcpServerArgs && mcpServerArgs.length > 0
|
||||
? `--args=${mcpServerArgs.join(" ")}`
|
||||
: "",
|
||||
],
|
||||
{
|
||||
env: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue