sonar-flutter icon indicating copy to clipboard operation
sonar-flutter copied to clipboard

handle pubspec.yamls with no or empty dependencies

Open tariq-stablekernel opened this issue 2 years ago • 2 comments

A PR to resolve #187. Checks if "dependencies" in pubspec.yaml is null before accessing it.

tariq-stablekernel avatar Jul 11 '23 10:07 tariq-stablekernel

@zippy1978 do you think you could take a look at my PR when you have a moment?

tariq-stablekernel avatar Aug 16 '23 19:08 tariq-stablekernel

Thank you for your contribution @tariq-stablekernel !

Could you just add a new unit test to cover the case in fr/insideapp/sonarqube/dart/lang/PubSpecParserTest.java?

zippy1978 avatar Aug 18 '23 09:08 zippy1978