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 ac78ae8 commit b9781a2Copy full SHA for b9781a2
WebDriverManager/Services/Impl/VariableService.cs
@@ -16,9 +16,9 @@ protected void UpdatePath(string path)
16
var pathVariable = Environment.GetEnvironmentVariable(name, EnvironmentVariableTarget.Process);
17
if (pathVariable == null) throw new ArgumentNullException($"Can't get {name} variable");
18
path = Path.GetDirectoryName(path);
19
- var newPathVariable = $"{path};{pathVariable}";
+ var newPathVariable = $"{path}{Path.PathSeparator}{pathVariable}";
20
if (path != null && !pathVariable.Contains(path))
21
Environment.SetEnvironmentVariable(name, newPathVariable, EnvironmentVariableTarget.Process);
22
}
23
24
-}
+}
0 commit comments