Migrate activation issue template to Github form issues (#119916)

Migrate activation issue template to Github form issues
This commit is contained in:
Nabeel Parkar
2023-02-28 13:38:01 +05:30
committed by GitHub
parent d57dc6d718
commit e5a382ec92
5 changed files with 91 additions and 56 deletions

View File

@@ -1048,7 +1048,7 @@ Future<void> verifyIssueLinks(String workingDirectory) async {
Directory(path.join(workingDirectory, '.github', 'ISSUE_TEMPLATE'))
.listSync()
.whereType<File>()
.where((File file) => path.extension(file.path) == '.md')
.where((File file) => path.extension(file.path) == '.md' || path.extension(file.path) == '.yml')
.map<String>((File file) => path.basename(file.path))
.toSet();
final String kTemplates = 'The available templates are:\n${templateNames.map(_bullets).join("\n")}';