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 5c4d78b commit fb4820eCopy full SHA for fb4820e
javascript/node/selenium-webdriver/io/index.js
@@ -23,8 +23,6 @@ var fs = require('fs'),
23
var promise = require('..').promise;
24
25
26
-var PATH_SEPARATOR = process.platform === 'win32' ? ';' : ':';
27
-
28
29
// PUBLIC API
30
@@ -211,7 +209,7 @@ exports.findInPath = function(file, opt_checkCwd) {
211
209
}
212
210
213
214
- var dirs = process.env['PATH'].split(PATH_SEPARATOR);
+ var dirs = process.env['PATH'].split(path.delimiter);
215
var found = null;
216
dirs.forEach(function(dir) {
217
var tmp = path.join(dir, file);
0 commit comments