Skip to content

Commit

Permalink
Fixed jar lookup now that there are two in the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
davglass committed Nov 8, 2012
1 parent c286a3f commit c81f942
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added nodejs-coverage/jar/yuitest-coverage-report.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion nodejs-coverage/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var spawn = require('child_process').spawn,
lists = fs.readdirSync(base);

lists.some(function(item) {
if (path.extname(item) === '.jar') {
if (path.basename(item) === 'yuitest-coverage.jar') {
jar = path.join(base, item);
return true;
}
Expand Down

0 comments on commit c81f942

Please sign in to comment.