Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
Old comment cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
juliemr committed Aug 8, 2013
1 parent 92aab61 commit 78df75c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ var run = function() {
throw new Error('Using config.jasmineNodeOpts.specFolders is deprecated ' +
'in Protractor 0.6.0. Please switch to config.specs.');
}
// Check the specs.
// TODO(ralphj): Interpret patterns from the specs, e.g.
// 'specs/*.js'
// Probably want to use 'glob' for this, but consider the extra dependency.
var specs = config.specs;
var resolvedSpecs = [];
for (var i = 0; i < specs.length; ++i) {
Expand All @@ -79,10 +75,6 @@ var run = function() {
for (var j = 0; j < matches.length; ++j) {
resolvedSpecs.push(matches[j]);
}
// specs[i] = path.resolve(process.cwd(), specs[i]);
// if (!fs.existsSync(specs[i])) {
// throw new Error('Test file ' + specs[i] + ' not found.');
// }
}
minijn.addSpecs(resolvedSpecs);

Expand Down

0 comments on commit 78df75c

Please sign in to comment.