| commit | d16c4bc3a12b27e0daf899973bcc37ef8c295cc4 | [log] [tgz] |
|---|---|---|
| author | Srujan Gaddam <58529443+srujzs@users.noreply.github.com> | Mon Sep 30 09:58:33 2024 -0700 |
| committer | GitHub <noreply@github.com> | Mon Sep 30 09:58:33 2024 -0700 |
| tree | 942a0eaa48e182153d88712566b86ff958ab1dec | |
| parent | 6538aca01c8b3edb00e085d7e349e61f04a746a0 [diff] |
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;