Skip to content

Commit a91681a

Browse files
committed
fix(test): use -S flag in shebang for Linux compatibility
The shebang `#!/usr/bin/env bun run` works on macOS but fails on Linux because the `env` command doesn't split space-separated arguments by default. Using `#!/usr/bin/env -S bun run` makes env parse the string as multiple arguments, enabling cross-platform compatibility. Fixes CI failures where the mock server couldn't start due to: /usr/bin/env: 'bun run': No such file or directory
1 parent 0ca79d6 commit a91681a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/mocks/serve.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bun run
1+
#!/usr/bin/env -S bun run
22
/**
33
* Standalone HTTP server for MCP mock testing.
44
* Imports createMcpApp from stackone-ai-node vendor submodule.

0 commit comments

Comments
 (0)