Skip to content

Commit 312eab7

Browse files
committed
Modernate minimal diffs with code style
1 parent 4914e89 commit 312eab7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dotnet/src/webdriver/DriverFinder.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,10 @@ private SeleniumManagerPaths BinaryPaths()
114114
string driverPath = binaryPaths.DriverPath;
115115
string browserPath = binaryPaths.BrowserPath;
116116

117-
if (!File.Exists(driverPath))
117+
if (File.Exists(driverPath))
118+
{
119+
}
120+
else
118121
{
119122
throw new NoSuchDriverException($"The driver path is not a valid file: {driverPath}");
120123
}

0 commit comments

Comments
 (0)