mirror of
https://github.com/microsoft/WSL.git
synced 2026-04-10 16:43:40 -05:00
fix: UnboundLocalError in create-release.py (#13499)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user