Fix quit command in Example client with OAuth (#864)
This commit is contained in:
parent
a1608a6513
commit
4d0977bc91
1 changed files with 3 additions and 1 deletions
|
|
@ -270,7 +270,9 @@ class InteractiveOAuthClient {
|
|||
}
|
||||
|
||||
if (command === 'quit') {
|
||||
break;
|
||||
console.log('\n👋 Goodbye!');
|
||||
this.close();
|
||||
process.exit(0);
|
||||
} else if (command === 'list') {
|
||||
await this.listTools();
|
||||
} else if (command.startsWith('call ')) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue