We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86799f1 commit a4b9ff9Copy full SHA for a4b9ff9
dwds/test/fixtures/context.dart
@@ -585,7 +585,8 @@ class TestContext {
585
586
void addLibraryFile({required String libFileName, required String contents}) {
587
final file = File(project.dartLibFilePath(libFileName));
588
- file.createSync();
+ // Library folder may not exist yet, so create it.
589
+ file.createSync(recursive: true);
590
file.writeAsStringSync(contents);
591
}
592
0 commit comments