Add await to runCli call

This commit is contained in:
François Leblanc 2025-07-14 23:27:58 -04:00
commit ff2d932904
2 changed files with 4 additions and 1 deletions

View file

@ -31,5 +31,8 @@ jobs:
- name: Build CLI
run: npm run build
- name: Explicitly pre-install test dependencies
run: npx -y @modelcontextprotocol/server-everything --help || true
- name: Run tests
run: npm test

View file

@ -233,7 +233,7 @@ async function main(): Promise<void> {
const args = parseArgs();
if (args.cli) {
runCli(args);
await runCli(args);
} else {
await runWebClient(args);
}