google / mono_repo.dart

Allows easy management of repositories with multiple Dart packages
https://pub.dev/packages/mono_repo
BSD 3-Clause "New" or "Revised" License
159 stars 32 forks source link

Replace some Map.containsKey with patterns #490

Closed natebosch closed 2 months ago

natebosch commented 2 months ago

In a few expressions where we check for the presence of a key, and then immediately read that key, refactor to an if-case which decomposes the variable inline.

coveralls commented 2 months ago

Pull Request Test Coverage Report for Build 10293217659

Details


Totals Coverage Status
Change from base Build 10015285761: -0.03%
Covered Lines: 1295
Relevant Lines: 1532

💛 - Coveralls
codecov-commenter commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.53%. Comparing base (62562fe) to head (4c57a1f).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #490 +/- ## ========================================== - Coverage 84.56% 84.53% -0.04% ========================================== Files 35 35 Lines 1535 1532 -3 ========================================== - Hits 1298 1295 -3 Misses 237 237 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.