We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9937c6e commit 9eae13aCopy full SHA for 9eae13a
1 file changed
lib/src/entrypoint.dart
@@ -459,9 +459,8 @@ See $workspacesDocUrl for more information.''',
459
}
460
461
462
- Iterable<String> _resolutionFileDependencies(PackageGraph graph) sync* {
463
- for (final package in graph.packages.values) {
464
- if (!graph.isPackageMutable(package.name)) continue;
+ Iterable<String> _resolutionFileDependencies() sync* {
+ for (final package in workspaceRoot.transitiveWorkspace) {
465
yield package.pubspecPath;
466
yield package.pubspecOverridesPath;
467
@@ -665,7 +664,7 @@ To update `$lockFilePath` run `$topLevelProgram pub get`$suffix without
665
664
newLockFile.writeToFile(
666
lockFilePath,
667
cache,
668
- dependencies: _resolutionFileDependencies(packageGraph),
+ dependencies: _resolutionFileDependencies(),
669
);
670
671
0 commit comments