Skip to content

Commit 83912f1

Browse files
committed
Use correct lines.
1 parent 34ed698 commit 83912f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/BenchmarkDotNet/Toolchains/MonoWasm/WasmExecutor.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,14 @@ private static ExecuteResult Execute(Process process, BenchmarkCase benchmarkCas
103103

104104
ImmutableArray<string> outputLines = processOutputReader.GetOutputLines();
105105
var prefixedLines = new List<string>();
106-
var standardOutput = new List<string>();
106+
var resultLines = new List<string>();
107107
var outputEnumerator = outputLines.GetEnumerator();
108108
while (outputEnumerator.MoveNext())
109109
{
110110
var line = outputEnumerator.Current;
111111
if (!line.StartsWith("//"))
112112
{
113-
standardOutput.Add(line);
113+
resultLines.Add(line);
114114
continue;
115115
}
116116

@@ -143,8 +143,8 @@ private static ExecuteResult Execute(Process process, BenchmarkCase benchmarkCas
143143
return new ExecuteResult(true,
144144
process.HasExited ? process.ExitCode : null,
145145
process.Id,
146+
[.. resultLines],
146147
[.. prefixedLines],
147-
[.. standardOutput],
148148
outputLines,
149149
launchIndex);
150150
}

0 commit comments

Comments
 (0)