mirror of
https://github.com/flutter/packages.git
synced 2025-08-06 17:28:42 +08:00
[various] Clean up obsolete references to "master" (#5912)
This commit is contained in:
@ -191,6 +191,11 @@ class PubspecCheckCommand extends PackageLoopingCommand {
|
||||
errorMessages
|
||||
.add('The "repository" link should end with the package path.');
|
||||
}
|
||||
|
||||
if (pubspec.repository!.path.contains('/master/')) {
|
||||
errorMessages
|
||||
.add('The "repository" link should use "main", not "master".');
|
||||
}
|
||||
}
|
||||
|
||||
if (pubspec.homepage != null) {
|
||||
|
Reference in New Issue
Block a user