Fix curly_braces_in_flow_control_structures lint (#311) Dart CI is currently red: https://github.com/dart-lang/web/actions/runs/11088077104/job/30807510912
diff --git a/web_generator/lib/src/translator.dart b/web_generator/lib/src/translator.dart index 95e4fbf..ef58c04 100644 --- a/web_generator/lib/src/translator.dart +++ b/web_generator/lib/src/translator.dart
@@ -524,7 +524,9 @@ } final isStatic = operation.special == 'static'; if (shouldQueryMDN && - !_shouldGenerateMember(operationName, isStatic: isStatic)) break; + !_shouldGenerateMember(operationName, isStatic: isStatic)) { + break; + } final docs = shouldQueryMDN ? mdnInterface?.propertyFor(operationName, isStatic: isStatic) : null;