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 8ce3bfb commit fbc0ff1Copy full SHA for fbc0ff1
dev/tools/gen_defaults/lib/template.dart
@@ -69,7 +69,7 @@ abstract class TokenTemplate {
69
/// If the file already contains a generated text block matching the
70
/// [blockName], it will be replaced by the [generate] output. Otherwise
71
/// the content will just be appended to the end of the file.
72
- Future<void> updateFile() async {
+ void updateFile() {
73
final String contents = File(fileName).readAsStringSync();
74
final String beginComment = '$beginGeneratedComment - $blockName\n';
75
final String endComment = '$endGeneratedComment - $blockName\n';
0 commit comments