mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
parent
ae526a1a3c
commit
0f6d665434
|
@ -657,9 +657,7 @@ export function getOutputMatchForCommand(executedMarker: IMarker | undefined, en
|
|||
if (startLine === endLine) {
|
||||
return undefined;
|
||||
}
|
||||
if (outputMatcher?.length && (endLine - startLine) < outputMatcher.length) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
let line: string | undefined;
|
||||
if (outputMatcher?.anchor === 'bottom') {
|
||||
for (let i = endLine - (outputMatcher.offset || 0); i >= startLine; i--) {
|
||||
|
|
Loading…
Reference in a new issue