|
|
@@ -96,7 +96,6 @@ function commandOutput(
|
|
|
): CapturedOutput | undefined {
|
|
|
const text = snapshot.text
|
|
|
const end = text.lastIndexOf(marker.end)
|
|
|
- if (end < 0) return undefined
|
|
|
const status = /^(\d+)\r?\n/.exec(text.slice(end + marker.end.length))?.[1]
|
|
|
if (status === undefined) return undefined
|
|
|
const startMarker = text.lastIndexOf(marker.start, end)
|