We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8f3e87 commit 5742004Copy full SHA for 5742004
src/SeqCli/Cli/Commands/Bench/BenchCommand.cs
@@ -134,11 +134,14 @@ protected override async Task<int> Run()
134
);
135
136
timings.PushElapsed(response.Statistics.ElapsedMilliseconds);
137
- var isScalarResult = response.Rows.Length == 1 && response.Rows[0].Length == 1;
138
139
- if (i == _runs && isScalarResult)
+ if (response.Rows != null)
140
{
141
- lastResult = response.Rows[0][0];
+ var isScalarResult = response.Rows.Length == 1 && response.Rows[0].Length == 1;
+ if (isScalarResult && i == _runs)
142
+ {
143
+ lastResult = response.Rows[0][0];
144
+ }
145
}
146
147
0 commit comments