| Index: utils/pub/system_cache.dart
|
| diff --git a/utils/pub/system_cache.dart b/utils/pub/system_cache.dart
|
| index 56bd7e40e10c36198b6114823897634f084b0a91..de949e83a1debb1c501d963c7b1d3ea5079105ef 100644
|
| --- a/utils/pub/system_cache.dart
|
| +++ b/utils/pub/system_cache.dart
|
| @@ -59,7 +59,7 @@ class SystemCache {
|
| */
|
| Future<Package> install(PackageId id) {
|
| if (!id.source.shouldCache) {
|
| - throw new IllegalArgumentException("Package $id is not cacheable.");
|
| + throw new ArgumentError("Package $id is not cacheable.");
|
| }
|
|
|
| var pending = _pendingInstalls[id];
|
|
|