Skip to content

Commit fd345f6

Browse files
committed
passing non-interactive is a noop due to an off by one
1 parent 1cb6609 commit fd345f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tests/Tests.Benchmarking/BenchmarkProgram.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public static class Program
1212
public static int Main(string[] arguments)
1313
{
1414
Console.WriteLine("Running Benchmarking.");
15-
if (arguments.Count() > 1 && arguments[0].Equals("non-interactive", StringComparison.OrdinalIgnoreCase))
15+
if (arguments.Count() >= 1 && arguments[0].Equals("non-interactive", StringComparison.OrdinalIgnoreCase))
1616
{
1717
Console.WriteLine("Running in Non-Interactive mode.");
1818
foreach (var benchmarkType in GetBenchmarkTypes())

0 commit comments

Comments
 (0)