Skip to content

Commit 9eae13a

Browse files
committed
fix: limit resolution timestamp inputs
1 parent 9937c6e commit 9eae13a

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

lib/src/entrypoint.dart

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -459,9 +459,8 @@ See $workspacesDocUrl for more information.''',
459459
}
460460
}
461461

462-
Iterable<String> _resolutionFileDependencies(PackageGraph graph) sync* {
463-
for (final package in graph.packages.values) {
464-
if (!graph.isPackageMutable(package.name)) continue;
462+
Iterable<String> _resolutionFileDependencies() sync* {
463+
for (final package in workspaceRoot.transitiveWorkspace) {
465464
yield package.pubspecPath;
466465
yield package.pubspecOverridesPath;
467466
}
@@ -665,7 +664,7 @@ To update `$lockFilePath` run `$topLevelProgram pub get`$suffix without
665664
newLockFile.writeToFile(
666665
lockFilePath,
667666
cache,
668-
dependencies: _resolutionFileDependencies(packageGraph),
667+
dependencies: _resolutionFileDependencies(),
669668
);
670669
}
671670

0 commit comments

Comments
 (0)