From 4081d5c3ebce6b57a82404e178fc9933be010a16 Mon Sep 17 00:00:00 2001 From: Srujan Gaddam Date: Mon, 30 Sep 2024 09:40:24 -0700 Subject: [PATCH] Fix curly_braces_in_flow_control_structures lint Dart CI is currently red: https://github.com/dart-lang/web/actions/runs/11088077104/job/30807510912 --- web_generator/lib/src/translator.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 @@ class _PartialInterfacelike { } 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;