Index: utils/pub/system_cache.dart |
diff --git a/utils/pub/system_cache.dart b/utils/pub/system_cache.dart |
index fd2c6536122e1329e6e1170fb44aa71ff5c82b48..3074a741188331a2820426075f408ba38846b653 100644 |
--- a/utils/pub/system_cache.dart |
+++ b/utils/pub/system_cache.dart |
@@ -73,7 +73,7 @@ class SystemCache { |
if (pending != null) return pending; |
var future = id.source.installToSystemCache(id) |
- .whenComplete(() => _pendingInstalls.remove(id)); |
+ .whenComplete(() { _pendingInstalls.remove(id); }); |
_pendingInstalls[id] = future; |
return future; |
} |