Skip to content

Commit d16c4bc

Browse files
authored
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
1 parent 6538aca commit d16c4bc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

web_generator/lib/src/translator.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,9 @@ class _PartialInterfacelike {
524524
}
525525
final isStatic = operation.special == 'static';
526526
if (shouldQueryMDN &&
527-
!_shouldGenerateMember(operationName, isStatic: isStatic)) break;
527+
!_shouldGenerateMember(operationName, isStatic: isStatic)) {
528+
break;
529+
}
528530
final docs = shouldQueryMDN
529531
? mdnInterface?.propertyFor(operationName, isStatic: isStatic)
530532
: null;

0 commit comments

Comments
 (0)