| OLD | NEW |
| 1 #!/usr/bin/env dart | 1 #!/usr/bin/env dart |
| 2 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 2 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 3 // for details. All rights reserved. Use of this source code is governed by a | 3 // for details. All rights reserved. Use of this source code is governed by a |
| 4 // BSD-style license that can be found in the LICENSE file. | 4 // BSD-style license that can be found in the LICENSE file. |
| 5 | 5 |
| 6 import 'package:analyzer_cli/starter.dart'; | 6 import 'package:analyzer_cli/starter.dart'; |
| 7 | 7 |
| 8 /// The entry point for the command-line analyzer. | 8 /// The entry point for the command-line analyzer. |
| 9 void main(List<String> args) { | 9 main(List<String> args) async { |
| 10 CommandLineStarter starter = new CommandLineStarter(); | 10 CommandLineStarter starter = new CommandLineStarter(); |
| 11 starter.start(args); | 11 |
| 12 // Wait for the starter to complete. |
| 13 await starter.start(args); |
| 12 } | 14 } |
| OLD | NEW |