We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f59cd79 commit 75bd389Copy full SHA for 75bd389
pkgs/web_socket_conformance_tests/bin/generate_server_wrappers.dart
@@ -37,7 +37,8 @@ Future<StreamChannel<Object?>> startServer() async => spawnHybridUri(Uri(
37
38
void main() async {
39
final files = await Directory('lib/src').list().toList();
40
- final formatter = DartFormatter();
+ final formatter = DartFormatter(
41
+ languageVersion: DartFormatter.latestLanguageVersion);
42
43
files.where((file) => file.path.endsWith('_server.dart')).forEach((file) {
44
final vmPath = file.path.replaceAll('_server.dart', '_server_vm.dart');
0 commit comments