mirror of
https://gitcode.com/gh_mirrors/gh/gh-action-pypi-publish.git
synced 2026-07-02 18:27:49 +00:00
💅 Add a return type to die() @ attestations
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ def die(msg: str) -> NoReturn:
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def debug(msg: str):
|
||||
def debug(msg: str) -> None:
|
||||
print(f'::debug::{msg}', file=sys.stderr)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user