Several of my builds were breaking when I updated to the latest version yesterday. There was a null pointer exception being thrown when no report path was provided. I added a test to reproduce the bug and then added the fix in parseReportsProperty(), I did notice that there is no default value for the TypeScriptPlugin.SETTING_LCOV_REPORT_PATH property in TypeScriptPlugin.java. It could have been easily fixed by setting the default value to an empty string but I wasn't sure if you left it that way on purpose so I just fixed it in TsCoverageSensorImpl instead. Here is the error I was receving:
Coverage increased (+0.01%) to 92.456% when pulling 9955b4b632597cc37bacc22d3001a104805c1d4b on afterbangx:master into 0b43b748bd2261af0488a5aa5bfafc7190d5ca31 on Pablissimo:master.
Several of my builds were breaking when I updated to the latest version yesterday. There was a null pointer exception being thrown when no report path was provided. I added a test to reproduce the bug and then added the fix in
parseReportsProperty()
, I did notice that there is no default value for theTypeScriptPlugin.SETTING_LCOV_REPORT_PATH
property inTypeScriptPlugin.java
. It could have been easily fixed by setting the default value to an empty string but I wasn't sure if you left it that way on purpose so I just fixed it inTsCoverageSensorImpl
instead. Here is the error I was receving: