diff --git a/tools/generate_package_config.dart b/tools/generate_package_config.dart index 700469835db3..f5f3a6ddca4e 100644 --- a/tools/generate_package_config.dart +++ b/tools/generate_package_config.dart @@ -86,12 +86,6 @@ void main(List args) { for (final p in packages) if (p.name == name) p ]; - if (name == 'linter' && matches.length > 1) { - final oldLinter = matches.firstWhere((p) => - p.rootUri.replaceAll(r'\', '/').endsWith('third_party/pkg/linter')); - packages.remove(oldLinter); - matches.remove(oldLinter); - } if (matches.length > 1) { print('Duplicates found for package:$name'); for (var package in matches) {