Index: lib/src/command.dart |
diff --git a/lib/src/command.dart b/lib/src/command.dart |
index 9308078a7c4ff14fdea44d9aa85bffe345c7ec1b..f201b4ed7930e9acd0526a4d16547f1935404a27 100644 |
--- a/lib/src/command.dart |
+++ b/lib/src/command.dart |
@@ -17,9 +17,7 @@ import 'system_cache.dart'; |
/// has subcommands, then one of those must always be chosen. |
abstract class PubCommand extends Command { |
SystemCache get cache { |
- if (_cache == null) { |
- _cache = new SystemCache.withSources(isOffline: isOffline); |
- } |
+ if (_cache == null) _cache = new SystemCache(isOffline: isOffline); |
return _cache; |
} |
SystemCache _cache; |