Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/campersander/plato
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarrod Overson committed Jan 23, 2013
2 parents e2d2d00 + e650e18 commit 6cd13c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -40,6 +40,7 @@ plato -r -d report src/*.js

## Release History

- 0.4.3 Updated dependencies to fix reporting issues
- 0.4.2 Fixed overview links to files
- 0.4.1 Fixed jshint option passing
- 0.4.0 Added summary stats, Casper tests, nodunit tests
Expand Down
3 changes: 2 additions & 1 deletion lib/util.js
Expand Up @@ -8,9 +8,10 @@ exports.findCommonBase = function(files) {
for (var i = prefixlen; i > 0; i--) {
if (file.substr(0,i) === first.substr(0,i)) {
prefixlen = i;
break;
return;
}
}
prefixlen = 0;
});
return first.substr(0,prefixlen);
};
Expand Down

0 comments on commit 6cd13c7

Please sign in to comment.