Index: sdk/lib/_internal/pub/lib/src/command/list_package_dirs.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/command/list_package_dirs.dart b/sdk/lib/_internal/pub/lib/src/command/list_package_dirs.dart |
index 5561d4434d4336ebcdecb8a37d922d3543da6ce5..8294594a5cb0865b2cb5b96255fd91f3ec68b769 100644 |
--- a/sdk/lib/_internal/pub/lib/src/command/list_package_dirs.dart |
+++ b/sdk/lib/_internal/pub/lib/src/command/list_package_dirs.dart |
@@ -36,7 +36,7 @@ class ListPackageDirsCommand extends PubCommand { |
// Include the local paths to all locked packages. |
var packages = {}; |
var futures = []; |
- entrypoint.loadLockFile().packages.forEach((name, package) { |
+ entrypoint.lockFile.packages.forEach((name, package) { |
var source = entrypoint.cache.sources[package.source]; |
futures.add(source.getDirectory(package).then((packageDir) { |
packages[name] = path.join(packageDir, "lib"); |