Просмотр исходного кода

Use the PR title rather than parsing the commit message. (#15537)

Nick Brassel 3 лет назад
Родитель
Сommit
7b018f097d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/python/qmk/cli/generate/develop_pr_list.py

+ 1 - 1
lib/python/qmk/cli/generate/develop_pr_list.py

@@ -97,7 +97,7 @@ def generate_develop_pr_list(cli):
         match = git_expr.search(line)
         if match:
             pr_info = _get_pr_info(cache, gh, match.group("pr"))
-            commit_info = {'hash': match.group("hash"), 'title': match.group("title"), 'pr_num': int(match.group("pr")), 'pr_labels': [label.name for label in pr_info.labels.items]}
+            commit_info = {'hash': match.group("hash"), 'title': pr_info['title'], 'pr_num': int(match.group("pr")), 'pr_labels': [label.name for label in pr_info.labels.items]}
             _categorise_commit(commit_info)
 
     def _dump_commit_list(name, collection):