nightwatch
Advanced tools
Comparing version 0.3.6 to 0.3.7
{ | ||
"name": "nightwatch", | ||
"description": "A node.js bindings implementation for selenium 2.0/webdriver", | ||
"version": "0.3.6", | ||
"version": "0.3.7", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Andrei Rusu", |
@@ -171,3 +171,3 @@ /** | ||
var modules = list.filter(function (filePath) { | ||
var filename = filePath.split('/').slice(-1)[0]; | ||
var filename = filePath.split(path.sep).slice(-1)[0]; | ||
return opts.filter ? | ||
@@ -200,7 +200,7 @@ minimatch(filename, opts.filter) : | ||
list.forEach(function(file) { | ||
file = [dir, file].join('/'); | ||
file = [dir, file].join(path.sep); | ||
fs.stat(file, function(err, stat) { | ||
if (stat && stat.isDirectory()) { | ||
var dirName = file.split('/').slice(-1)[0]; | ||
var dirName = file.split(path.sep).slice(-1)[0]; | ||
if (opts.skipgroup && opts.skipgroup.indexOf(dirName) > -1) { | ||
@@ -207,0 +207,0 @@ pending = pending-1; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
153286