Variable _s leaking in bin/vows
Closed this issue · 1 comments
silkentrance commented
Lines 381ff
function getMatchingTest(file, join) {
join || (join = '-');
var testFile;
if (specFileExt.test(file)) {
testFile = path.join(testFolder, file);
}
else {
var root, extension;
_s = file.split('.'), root = _s[0], extension = _s[1];
testFile = path.join(testFolder, root + join + testFolder + "." + extension);
_s is not being declared and might leak...
evanp commented
This isn't the case in 1.x, so I'm closing this.