Index: pkg/analysis_server/tool/spec/generate_all.dart |
diff --git a/pkg/analysis_server/tool/spec/generate_all.dart b/pkg/analysis_server/tool/spec/generate_all.dart |
index 58a4634355c8ebc34dc89b4e45b1091a6a6c6df7..c5dd126c01e489c86833ebe209b14ed9b4d6440d 100644 |
--- a/pkg/analysis_server/tool/spec/generate_all.dart |
+++ b/pkg/analysis_server/tool/spec/generate_all.dart |
@@ -18,10 +18,10 @@ import 'to_html.dart' as to_html; |
/** |
* Generate all targets. |
*/ |
-main() { |
+main() async { |
String script = Platform.script.toFilePath(windows: Platform.isWindows); |
String pkgPath = normalize(join(dirname(script), '..', '..')); |
- GeneratedContent.generateAll(pkgPath, allTargets); |
+ await GeneratedContent.generateAll(pkgPath, allTargets); |
} |
/** |