mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Always flush files when setting up the test directory. (#122856)
Always flush files when setting up the test directory.
This commit is contained in:
parent
399cd6a56d
commit
a88eb172b7
@ -45,7 +45,7 @@ void writeFile(String path, String content, {bool writeFutureModifiedDate = fals
|
||||
void writeBytesFile(String path, List<int> content) {
|
||||
fileSystem.file(path)
|
||||
..createSync(recursive: true)
|
||||
..writeAsBytesSync(content);
|
||||
..writeAsBytesSync(content, flush: true);
|
||||
}
|
||||
|
||||
void writePackages(String folder) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user