From 78df75c17d8e509b111b65fc6c6f052cc2ba768b Mon Sep 17 00:00:00 2001 From: Julie Date: Thu, 8 Aug 2013 16:24:31 -0700 Subject: [PATCH] Old comment cleanup. --- lib/cli.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/cli.js b/lib/cli.js index b689ce653..ec2a25350 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -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) { @@ -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);