mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-10 16:30:30 -06:00
fix: UnboundLocalError in create-release.py (#13499)
This commit is contained in:
parent
7b17a7a7ab
commit
f8c26f7c32
@ -56,7 +56,7 @@ def main(version: str, previous: str, max_message_lines: int, publish: bool, ass
|
||||
issues = filter_github_issues(issues, github_token)
|
||||
|
||||
if len(issues) > 1:
|
||||
print(f'WARNING: found more than 1 github issues in message: {message}. Issues: {issues}', file=sys.stderr)
|
||||
print(f'WARNING: found more than 1 github issues in message: {e.message}. Issues: {issues}', file=sys.stderr)
|
||||
|
||||
message = e.message[:-1] if e.message.endswith('\n') else e.message
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user