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

Commit 78df75c

Browse files
committed
Old comment cleanup.
1 parent 92aab61 commit 78df75c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Diff for: lib/cli.js

-8
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@ var run = function() {
6565
throw new Error('Using config.jasmineNodeOpts.specFolders is deprecated ' +
6666
'in Protractor 0.6.0. Please switch to config.specs.');
6767
}
68-
// Check the specs.
69-
// TODO(ralphj): Interpret patterns from the specs, e.g.
70-
// 'specs/*.js'
71-
// Probably want to use 'glob' for this, but consider the extra dependency.
7268
var specs = config.specs;
7369
var resolvedSpecs = [];
7470
for (var i = 0; i < specs.length; ++i) {
@@ -79,10 +75,6 @@ var run = function() {
7975
for (var j = 0; j < matches.length; ++j) {
8076
resolvedSpecs.push(matches[j]);
8177
}
82-
// specs[i] = path.resolve(process.cwd(), specs[i]);
83-
// if (!fs.existsSync(specs[i])) {
84-
// throw new Error('Test file ' + specs[i] + ' not found.');
85-
// }
8678
}
8779
minijn.addSpecs(resolvedSpecs);
8880

0 commit comments

Comments
 (0)