Index: pkg/analysis_server/tool/spec/to_html.dart |
diff --git a/pkg/analysis_server/tool/spec/to_html.dart b/pkg/analysis_server/tool/spec/to_html.dart |
index ac5ec60feed919fef77e13594f7f126cfec6ea62..82a93c753e980683e280843342e2474ed63b0a55 100644 |
--- a/pkg/analysis_server/tool/spec/to_html.dart |
+++ b/pkg/analysis_server/tool/spec/to_html.dart |
@@ -129,7 +129,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)); |