mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-07-20 04:32:50 +01:00
Fixes 2 typos
This commit is contained in:
@@ -74,7 +74,7 @@ for line in args.pr_body.splitlines():
|
||||
author.strip()
|
||||
|
||||
if not len(author):
|
||||
author = pr_author
|
||||
author = args.pr_author
|
||||
|
||||
if author not in new_logs:
|
||||
new_logs[author] = [] # Make array entry for the author
|
||||
@@ -95,7 +95,7 @@ for line in args.pr_body.splitlines():
|
||||
continue # If there's just one word, then it can't really be a changelog, now can it
|
||||
|
||||
if body[0] in validPrefixes:
|
||||
tag = body[0]
|
||||
tag = validPrefixes[body[0]]
|
||||
body = body[1].strip(" ,-:\t\n")
|
||||
else: # If the tag is invalid, just default to rscadd
|
||||
tag = "rscadd"
|
||||
|
||||
Reference in New Issue
Block a user