diff --git a/packages/melos/lib/src/commands/bootstrap.dart b/packages/melos/lib/src/commands/bootstrap.dart index 8ba747dd..887f6f35 100644 --- a/packages/melos/lib/src/commands/bootstrap.dart +++ b/packages/melos/lib/src/commands/bootstrap.dart @@ -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) {