| Index: sdk/lib/_internal/pub_generated/lib/src/entrypoint.dart
|
| diff --git a/sdk/lib/_internal/pub_generated/lib/src/entrypoint.dart b/sdk/lib/_internal/pub_generated/lib/src/entrypoint.dart
|
| index ee16741b513fcba1edeb188f443270d51a07b9f7..b9fd11f7b7e7a1c58b7870e6f83a91ca1a11b8ac 100644
|
| --- a/sdk/lib/_internal/pub_generated/lib/src/entrypoint.dart
|
| +++ b/sdk/lib/_internal/pub_generated/lib/src/entrypoint.dart
|
| @@ -562,6 +562,10 @@ class Entrypoint {
|
| /// contains dependencies that are not in the lockfile or that don't match
|
| /// what's in there.
|
| bool _isLockFileUpToDate(LockFile lockFile) {
|
| + /// If this is an entrypoint for an in-memory package, trust the in-memory
|
| + /// lockfile provided for it.
|
| + if (root.dir == null) return true;
|
| +
|
| return root.immediateDependencies.every((package) {
|
| var locked = lockFile.packages[package.name];
|
| if (locked == null) return false;
|
|
|