protractor-cucumber-framework
Advanced tools
Comparing version 0.2.0 to 0.2.1
13
index.js
var q = require('q'), | ||
assign = require('object-assign'), | ||
path = require('path'); | ||
path = require('path'), | ||
glob = require('glob'); | ||
@@ -31,2 +32,12 @@ /** | ||
} | ||
// Handle glob matching | ||
if (option === 'require') { | ||
var configDir = runner.getConfig().configDir; | ||
execOptions[option] = | ||
execOptions[option].map(function(path) { | ||
return glob.sync(path, {cwd: configDir}); | ||
}).reduce(function(opts, globPaths) { | ||
return opts.concat(globPaths); | ||
}); | ||
} | ||
}); | ||
@@ -33,0 +44,0 @@ |
{ | ||
"name": "protractor-cucumber-framework", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Protractor framework for Cucumber.js", | ||
@@ -35,2 +35,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"glob": "^6.0.1", | ||
"object-assign": "^4.0.1", | ||
@@ -37,0 +38,0 @@ "q": "^1.4.1" |
@@ -28,1 +28,6 @@ Protractor Cucumber Framework | ||
``` | ||
Contributing | ||
------------ | ||
Pull requests are welcome. Commits should have an appropriate message and be squashed. |
8742
149
33
4
+ Addedglob@^6.0.1
+ Addedglob@6.0.4(transitive)