Index: sdk/lib/_internal/dartdoc/lib/dartdoc.dart |
diff --git a/sdk/lib/_internal/dartdoc/lib/dartdoc.dart b/sdk/lib/_internal/dartdoc/lib/dartdoc.dart |
index c4fa58f8cfb13b8fd65d4ddd767628502091176d..99f79b0f00d626b094e224e8d6b65024b501a10c 100644 |
--- a/sdk/lib/_internal/dartdoc/lib/dartdoc.dart |
+++ b/sdk/lib/_internal/dartdoc/lib/dartdoc.dart |
@@ -108,7 +108,7 @@ Future copyDirectory(String from, String to) { |
} |
}, |
onDone: () => Future.wait(futureList).then((_) => completer.complete()), |
- onError: (e) => completer.completeError(e)); |
+ onError: completer.completeError); |
return completer.future; |
} |