Skip to content

Commit

Permalink
Fix curly_braces_in_flow_control_structures lint (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
srujzs authored Sep 30, 2024
1 parent 6538aca commit d16c4bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web_generator/lib/src/translator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d16c4bc

Please sign in to comment.