Chromium Code Reviews| Index: utils/pub/source.dart |
| diff --git a/utils/pub/source.dart b/utils/pub/source.dart |
| index 977efad3a59c73e369039d1216d5952bbf6fd26d..777c1a0222fc8f8ffbd1e4e9229cc5ca77009279 100644 |
| --- a/utils/pub/source.dart |
| +++ b/utils/pub/source.dart |
| @@ -113,7 +113,7 @@ abstract class Source { |
| return install(id, path); |
| }).then((found) { |
| if (!found) throw 'Package $id not found.'; |
| - return new Package(id.name, path, systemCache.sources); |
| + return new Package.load(id.name, path, systemCache.sources); |
| }); |
| } |