grunt-plato
grunt-plato copied to clipboard
source without "./" at the start cuts off names in report
If you specify a source directory like this: ... files: { 'release/quality': ['source/{star star}/.js', '!source/lib/{star star}/.js'] }
instead of
files: { 'release/quality': ['./source/{star star}/.js', '!source/lib/{star star}/.js'] }
where {star star} is * * without the spaces
All reports end up with the module/file names having the first letter cut off.
Using plato commandline this doesn't happen. This may still be an issue with Plato but I wanted to confirm here first before posting on Plato (and having to provide a non grunt-plato example).
Hi dmitrye, I was having the same problem and this helped :
'reports': [path.resolve('./app//.')]
see you.