Index: utils/pub/system_cache.dart |
diff --git a/utils/pub/system_cache.dart b/utils/pub/system_cache.dart |
index 3074a741188331a2820426075f408ba38846b653..50b022ee2495435c83fb433a0db1c2842da036a5 100644 |
--- a/utils/pub/system_cache.dart |
+++ b/utils/pub/system_cache.dart |
@@ -43,9 +43,9 @@ class SystemCache { |
sources = new SourceRegistry(); |
/// Creates a system cache and registers the standard set of sources. |
- factory SystemCache.withSources(String rootDir, String sdkDir) { |
+ factory SystemCache.withSources(String rootDir) { |
var cache = new SystemCache(rootDir); |
- cache.register(new SdkSource(sdkDir)); |
+ cache.register(new SdkSource()); |
cache.register(new GitSource()); |
cache.register(new HostedSource()); |
cache.sources.setDefault('hosted'); |