Skip to content

Commit

Permalink
Fix curly_braces_in_flow_control_structures lint
Browse files Browse the repository at this point in the history
  • Loading branch information
srujzs committed Sep 30, 2024
1 parent 6538aca commit 4081d5c
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 4081d5c

Please sign in to comment.