aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/ipm/utils/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipm/utils/git.py b/src/ipm/utils/git.py
index 59d3f72..7fb3912 100644
--- a/src/ipm/utils/git.py
+++ b/src/ipm/utils/git.py
@@ -26,4 +26,4 @@ def git_tag(target_path: Path, tag: str):
try:
repo.create_tag("v" + tag)
except GitCommandError as err:
- raise RuntimeError(f"创建 Tag 时出现异常: [red]{err.stderr.strip("\n ")}[/]")
+ raise RuntimeError(f"创建 Tag 时出现异常: [red]{err.stderr.strip('\n ')}[/]")