Skip to content

Commit

Permalink
Await file write
Browse files Browse the repository at this point in the history
  • Loading branch information
liamappelbe committed Aug 31, 2022
1 parent 64ad837 commit fb3669f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions benchmark/run_benchmarks.dart
Expand Up @@ -138,6 +138,5 @@ Future<void> main() async {
// the benchmark directory.
Directory.current = 'benchmark';
final result = await runBenchmarkSet('Many isolates', 'many_isolates.dart');
File('data/benchmark_result.json').writeAsString(result);
exit(0);
await File('data/benchmark_result.json').writeAsString(result);
}

0 comments on commit fb3669f

Please sign in to comment.