mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-11 05:30:03 -05:00
make sure that 'runInTerminal' request returns a 'body'; fixes #48680
This commit is contained in:
@@ -469,6 +469,7 @@ export class RawDebugSession implements debug.ISession {
|
||||
if (request.command === 'runInTerminal') {
|
||||
|
||||
this._debugger.runInTerminal(<DebugProtocol.RunInTerminalRequestArguments>request.arguments).then(_ => {
|
||||
response.body = {};
|
||||
this.debugAdapter.sendResponse(response);
|
||||
}, err => {
|
||||
response.success = false;
|
||||
|
||||
Reference in New Issue
Block a user