mirror of
https://github.com/aphrody-labs/WSL.git
synced 2026-10-14 13:49:03 +00:00
fix: UnboundLocalError in create-release.py (#13499)
This commit is contained in:
1 parent
7b17a7a7ab
commit
f8c26f7c32
1 file changed
+1
-1
@@ -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