Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Jun 20, 2024
1 parent 6890924 commit bfc6141
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespaces = true
# ----------------------------------------- Project Metadata -------------------------------------
#
[project]
version = "0.0.0.dev2"
version = "0.0.0.dev3"
name = "GitTidy"
requires-python = ">=3.10"
dependencies = [
Expand Down
2 changes: 1 addition & 1 deletion src/gittidy/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ def get_tags(self) -> list[list[str]]:
Each element is a list itself, containing all tags that point to the same commit.
"""
logs = self.log(simplify_by_decoration=True, pretty="format:%D")
tags_on_branch = self.run_command(["tag", "--merged"]).output.splitlines()
tags_on_branch = (self.run_command(["tag", "--merged"]).output or "").splitlines()
tags = []
for line in logs.splitlines():
potential_tags = line.split(", ")
Expand Down

0 comments on commit bfc6141

Please sign in to comment.