cjdev2 / jshint-mojo

A simple, speedy maven plugin for running javascript code through jshint
GNU General Public License v2.0
40 stars 32 forks source link

Fix NPE when using configFile parameter #21

Closed voelzmo closed 11 years ago

voelzmo commented 11 years ago

When specifying a configFile parameter which is outside the project's path (e.g. ${basedir}/../some/where/else), the log statement in line 165 throws an NPE.

sporniket commented 11 years ago

workaround if you cannot wait for the next version : create an empty file '.jshintrc' in the basedir. The mojo expect this file to be present.

stupenrose commented 11 years ago

thanks @voelzmo !