Skip to content

Commit

Permalink
small nits
Browse files Browse the repository at this point in the history
  • Loading branch information
dickermoshe committed Sep 19, 2024
1 parent d7f6f62 commit 92b88b7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/custom_lint/lib/src/workspace.dart
Original file line number Diff line number Diff line change
Expand Up @@ -994,12 +994,11 @@ class CustomLintProject {
);
});

final dependencyMap = <String, Dependency>{
...projectPubspec.dependencies,
...projectPubspec.devDependencies,
};
final plugins = await Future.wait(
dependencyMap.entries.map((e) async {
{
...projectPubspec.dependencies,
...projectPubspec.devDependencies,
}.entries.map((e) async {
final packageWithName = projectPackageConfig.packages
.firstWhereOrNull((p) => p.name == e.key);
if (packageWithName == null) {
Expand Down

0 comments on commit 92b88b7

Please sign in to comment.