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",
|
"node",
|
||||||
[
|
[
|
||||||
inspectorServerPath,
|
inspectorServerPath,
|
||||||
...(command ? [`--command`, command] : []),
|
command ? `--command=${command}` : "",
|
||||||
...(mcpServerArgs && mcpServerArgs.length > 0
|
mcpServerArgs && mcpServerArgs.length > 0
|
||||||
? [`--args`, mcpServerArgs.join(" ")]
|
? `--args=${mcpServerArgs.join(" ")}`
|
||||||
: []),
|
: "",
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
env: {
|
env: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue