Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
Signed-off-by: Mateus Felipe C. C. Pinto <[email protected]>
  • Loading branch information
mateusfccp committed Mar 13, 2024
1 parent 9020222 commit 5c3a6aa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/melos/lib/src/commands/bootstrap.dart
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,10 @@ mixin _BootstrapMixin on _CleanMixin {
// dependencies that have a different version specified in the workspace.
final dependenciesToUpdate = workspaceDependencies.entries.where((entry) {
if (!packageDependencies.containsKey(entry.key)) return false;
return !_areDependenciesEqual(packageDependencies[entry.key], entry.value);
if (_areDependenciesEqual(packageDependencies[entry.key], entry.value)) {
return false;
}
return true;
});

for (final entry in dependenciesToUpdate) {
Expand Down

0 comments on commit 5c3a6aa

Please sign in to comment.