Index: pkg/analyzer_plugin/tool/spec/to_html.dart |
diff --git a/pkg/analyzer_plugin/tool/spec/to_html.dart b/pkg/analyzer_plugin/tool/spec/to_html.dart |
index 8d0601203e75d84e53c693e7bb17eb1e3021515e..ccb086879e9a76bf13fc2ae1ee3d0659351d7587 100644 |
--- a/pkg/analyzer_plugin/tool/spec/to_html.dart |
+++ b/pkg/analyzer_plugin/tool/spec/to_html.dart |
@@ -128,7 +128,7 @@ a:focus, a:hover { |
.trim(); |
final GeneratedFile target = |
- new GeneratedFile('doc/api.html', (String pkgPath) { |
+ new GeneratedFile('doc/api.html', (String pkgPath) async { |
ToHtmlVisitor visitor = new ToHtmlVisitor(readApi(pkgPath)); |
dom.Document document = new dom.Document(); |
document.append(new dom.DocumentType('html', null, null)); |