insideapp-oss / sonar-flutter

SonarQube plugin for Flutter / Dart
Other
449 stars 83 forks source link

handle pubspec.yamls with no or empty dependencies #188

Closed tariq-stablekernel closed 2 months ago

tariq-stablekernel commented 1 year ago

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

tariq-stablekernel commented 1 year ago

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

zippy1978 commented 1 year ago

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?