Skip to content

Commit a7c6ca5

Browse files
committed
Fix syntax error
1 parent 7f17228 commit a7c6ca5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CSF.Extensions.WebDriver/Factories/WebDriverFromOptionsFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ static void CustomizeOptions(DriverOptions options, object customizer)
4242
{
4343
if (customizer is null) return;
4444
var method = customizeGenericMethod.MakeGenericMethod(options.GetType());
45-
method.Invoke(null, [options, customizer]);
45+
method.Invoke(null, new[] { options, customizer });
4646
}
4747

4848
static void CuztomizeOptionsGeneric<TOptions>(TOptions options, object customizer)

0 commit comments

Comments
 (0)