Skip to content

Commit ff2d932

Browse files
committed
Add await to runCli call
1 parent 616ef0d commit ff2d932

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/cli_tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,8 @@ jobs:
3131
- name: Build CLI
3232
run: npm run build
3333

34+
- name: Explicitly pre-install test dependencies
35+
run: npx -y @modelcontextprotocol/server-everything --help || true
36+
3437
- name: Run tests
3538
run: npm test

cli/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ async function main(): Promise<void> {
233233
const args = parseArgs();
234234

235235
if (args.cli) {
236-
runCli(args);
236+
await runCli(args);
237237
} else {
238238
await runWebClient(args);
239239
}

0 commit comments

Comments
 (0)