| Index: utils/pub/system_cache.dart
|
| diff --git a/utils/pub/system_cache.dart b/utils/pub/system_cache.dart
|
| index 8f4b5bd110e8df906b9de60d2647a12487d55463..d81c44901a6378e9b281cff768b05b7a14c1da2e 100644
|
| --- a/utils/pub/system_cache.dart
|
| +++ b/utils/pub/system_cache.dart
|
| @@ -40,8 +40,10 @@ class SystemCache {
|
| final sources = paths.map((path) {
|
| final source = sources[basename(path)];
|
| return listDir(path).transform((subpaths) {
|
| + // TODO(rnystrom): Once there are cached packages and this path is
|
| + // being used, figure out how version numbers should be acquired.
|
| return subpaths.map((subpath) =>
|
| - new PackageId(basename(subpath), source));
|
| + new PackageId(basename(subpath), source, Version.none));
|
| });
|
| });
|
| return Futures.wait(sources).transform(flatten);
|
|
|