File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/src/common/parameters Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import 'package:analyzer/dart/ast/ast.dart';
1010/// - enum
1111class ExcludedEntitiesListParameter {
1212 /// The parameter model
13- final List <String > excludedEntityNames;
13+ final Set <String > excludedEntityNames;
1414
1515 /// A common parameter key for analysis_options.yaml
1616 static const String excludeEntityKey = 'exclude_entity' ;
@@ -25,11 +25,11 @@ class ExcludedEntitiesListParameter {
2525 final raw = json['exclude_entity' ];
2626 if (raw is List ) {
2727 return ExcludedEntitiesListParameter (
28- excludedEntityNames: List <String >.from (raw),
28+ excludedEntityNames: Set <String >.from (raw),
2929 );
3030 }
3131 return ExcludedEntitiesListParameter (
32- excludedEntityNames: [] ,
32+ excludedEntityNames: {} ,
3333 );
3434 }
3535
You can’t perform that action at this time.
0 commit comments