Skip to content

Commit

Permalink
Use a set where appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Oct 22, 2024
1 parent aa5004e commit e513c9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discoveryapis_generator/lib/src/apis_files_generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class ApisFilesGenerator {
}
}

const pubspecKeys = <String>[
const pubspecKeys = <String>{
'name',
'version',
'description',
Expand All @@ -152,7 +152,7 @@ class ApisFilesGenerator {
'dependency_overrides',
'executables',
'transformers'
];
};

// Process pubspec and either print the dependencies that has to be added
// or if the updatePubspec flag is set add the required dependencies to the
Expand Down

0 comments on commit e513c9e

Please sign in to comment.