Skip to content

Commit

Permalink
Fixed formatting and Analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
Heinrich-vanNieuwenhuizen committed Nov 8, 2023
1 parent 3cbc67a commit de9616a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/melos/lib/src/commands/bootstrap.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ mixin _BootstrapMixin on _CleanMixin {
environment: bootstrapCommandConfig.environment,
dependencies: bootstrapCommandConfig.dependencies,
devDependencies: bootstrapCommandConfig.devDependencies,
dependencyOverrides :bootstrapCommandConfig.dependencyOverrides
dependencyOverrides: bootstrapCommandConfig.dependencyOverrides,
);
}).drain<void>();
}
Expand Down
29 changes: 20 additions & 9 deletions packages/melos/test/commands/bootstrap_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -627,8 +627,12 @@ Generating IntelliJ IDE files...
),
},
dependencyOverrides: const {
'provider': GitReference('https://github.com/rrousselGit/provider.git'),
'photo_view': GitReference('https://github.com/bluefireteam/photo_view.git'),
'provider': GitReference(
'https://github.com/rrousselGit/provider.git',
),
'photo_view': GitReference(
'https://github.com/bluefireteam/photo_view.git',
),
},
),
),
Expand Down Expand Up @@ -716,7 +720,7 @@ Generating IntelliJ IDE files...
},
),
),
path: p.join(pkgB.path,'provider'),
path: p.join(pkgB.path, 'provider'),
);

//create photo_view package
Expand All @@ -735,10 +739,9 @@ Generating IntelliJ IDE files...
},
),
),
path: p.join(pkgB.path,'photo_view'),
path: p.join(pkgB.path, 'photo_view'),
);


final logger = TestLogger();
final config =
await MelosWorkspaceConfig.fromWorkspaceRoot(workspaceDir);
Expand Down Expand Up @@ -783,8 +786,12 @@ Generating IntelliJ IDE files...
expect(
pubspecA.dependencyOverrides,
equals({
'provider': const GitReference('https://github.com/rrousselGit/provider.git'),
'photo_view': const GitReference('https://github.com/bluefireteam/photo_view.git'),
'provider': const GitReference(
'https://github.com/rrousselGit/provider.git',
),
'photo_view': const GitReference(
'https://github.com/bluefireteam/photo_view.git',
),
}),
);

Expand Down Expand Up @@ -825,8 +832,12 @@ Generating IntelliJ IDE files...
expect(
pubspecB.dependencyOverrides,
equals({
'provider': const GitReference('https://github.com/rrousselGit/provider.git'),
'photo_view': const GitReference('https://github.com/bluefireteam/photo_view.git'),
'provider': const GitReference(
'https://github.com/rrousselGit/provider.git',
),
'photo_view': const GitReference(
'https://github.com/bluefireteam/photo_view.git',
),
}),
);
},
Expand Down

0 comments on commit de9616a

Please sign in to comment.