| Index: utils/pub/pub.dart
|
| diff --git a/utils/pub/pub.dart b/utils/pub/pub.dart
|
| index 6712e3b2d123ee13a5ccfbaec00d8c80bab80c05..4b9c74cfe2b5325c89897cd84c4c2f1e043c6d45 100644
|
| --- a/utils/pub/pub.dart
|
| +++ b/utils/pub/pub.dart
|
| @@ -69,9 +69,9 @@ main() {
|
| }
|
|
|
| var cache = new SystemCache(globalOptions['cachedir']);
|
| - cache.sources.register(new SdkSource(globalOptions['sdkdir']));
|
| - cache.sources.register(new GitSource());
|
| - cache.sources.register(new RepoSource());
|
| + cache.register(new SdkSource(globalOptions['sdkdir']));
|
| + cache.register(new GitSource());
|
| + cache.register(new RepoSource());
|
| // TODO(nweiz): Make 'repo' the default once pub.dartlang.org exists
|
| cache.sources.setDefault('sdk');
|
|
|
|
|