style: remove private getter for getInstructions
This commit is contained in:
parent
54472d2ae1
commit
1bb51d0fca
1 changed files with 1 additions and 5 deletions
|
|
@ -241,7 +241,7 @@ export class Server<
|
|||
: LATEST_PROTOCOL_VERSION,
|
||||
capabilities: this.getCapabilities(),
|
||||
serverInfo: this._serverInfo,
|
||||
...(this.getInstructions() && { instructions: this.getInstructions() }),
|
||||
...(this._instructions && { instructions: this._instructions }),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -263,10 +263,6 @@ export class Server<
|
|||
return this._capabilities;
|
||||
}
|
||||
|
||||
private getInstructions(): string | undefined {
|
||||
return this._instructions;
|
||||
}
|
||||
|
||||
async ping() {
|
||||
return this.request({ method: "ping" }, EmptyResultSchema);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue