fix arg passing

This commit is contained in:
Ashwin Bhat 2024-11-27 19:12:35 -05:00
commit 295ccac27e
No known key found for this signature in database

View file

@ -49,7 +49,7 @@ async function main() {
[ [
inspectorServerPath, inspectorServerPath,
...(command ? [`--env`, command] : []), ...(command ? [`--env`, command] : []),
...(mcpServerArgs ? ["--args", mcpServerArgs.join(" ")] : []), ...(mcpServerArgs ? [`--args=${mcpServerArgs.join(" ")}`] : []),
], ],
{ {
env: { ...process.env, PORT: SERVER_PORT }, env: { ...process.env, PORT: SERVER_PORT },