grunt-plato icon indicating copy to clipboard operation
grunt-plato copied to clipboard

source without "./" at the start cuts off names in report

Open dmitrye opened this issue 10 years ago • 1 comments

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).

dmitrye avatar Mar 29 '14 04:03 dmitrye

Hi dmitrye, I was having the same problem and this helped :
'reports': [path.resolve('./app//.')]

see you.

Topinaqui avatar Dec 03 '14 17:12 Topinaqui