mirror of
https://github.com/microsoft/vscode.git
synced 2026-06-04 14:46:07 +01:00
Merge pull request #170697 from microsoft/tyriar/170463
Return instead of throwing when the markers can't be found
This commit is contained in:
@@ -703,7 +703,7 @@ export function getLinesForCommand(buffer: IBuffer, command: ITerminalCommand, c
|
||||
const executedMarker = command.executedMarker;
|
||||
const endMarker = command.endMarker;
|
||||
if (!executedMarker || !endMarker) {
|
||||
throw new Error('No marker for command');
|
||||
return undefined;
|
||||
}
|
||||
const startLine = executedMarker.line;
|
||||
const endLine = endMarker.line;
|
||||
|
||||
Reference in New Issue
Block a user