Remove spurious fs calls
`entry` already contains an absolute path. The path that is constructed is strange and unusual. This causes issues on Windows with TrifleJS (WIP).
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -1274,7 +1274,7 @@ Tester.prototype.findTestFiles = function findTestFiles(dir) { | ... | @@ -1274,7 +1274,7 @@ Tester.prototype.findTestFiles = function findTestFiles(dir) { |
1274 | } | 1274 | } |
1275 | }); | 1275 | }); |
1276 | return entries.filter(function _filter(entry) { | 1276 | return entries.filter(function _filter(entry) { |
1277 | return utils.isJsFile(fs.absolute(fs.pathJoin(dir, entry))); | 1277 | return utils.isJsFile(entry); |
1278 | }).sort(); | 1278 | }).sort(); |
1279 | }; | 1279 | }; |
1280 | 1280 | ... | ... |
-
Please register or sign in to post a comment