Skip to content

Commit 455c439

Browse files
committed
Fixed prefer_match_file_name_rule.dart
1 parent 2c08c35 commit 455c439

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/src/lints/prefer_match_file_name/prefer_match_file_name_rule.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ class PreferMatchFileNameRule extends SolidLintRule {
8787
if (_doNormalizedNamesMatch(
8888
resolver.source.fullName,
8989
firstDeclaration.token.lexeme,
90-
)) return;
90+
)) {
91+
return;
92+
}
9193

9294
final nodeType =
9395
humanReadableNodeType(firstDeclaration.parent).toLowerCase();

0 commit comments

Comments
 (0)