jsoverson/plato — pull request #7 by campersander (2013-01-13 18:08:26+00:00)
Title: Fixed missing letter when the files do not have a common prefix.

When the files being reported had no common prefix, `util.findCommonBase()` returned the first character of the first path, which resulted in letters missing from any other path.

The bug can be reproduced by running the README’s example command, but within src:

cd src
plato -d report *.js

This fixes the issue by allowing the prefix to be empty.