Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit f0effaa

Browse files
Fix a race in file I/O done by a BuildRunner test (#54167)
This test failure had been seen in some recent auto-roller jobs on CI.
1 parent dfdb2d5 commit f0effaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/pkg/engine_build_configs/test/build_config_runner_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ void main() {
834834
..createSync(recursive: true);
835835
final io.File file =
836836
io.File(path.join(hostDebug.path, 'compile_commands.json'));
837-
file.writeAsString(
837+
file.writeAsStringSync(
838838
r'''
839839
[
840840
{

0 commit comments

Comments
 (0)