Skip to content

Commit 6f826b6

Browse files
committed
TypeError in gh semver note - resolves #295
f728447: parent is a property, not a function - #295
1 parent 423c3fe commit 6f826b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gh_tt/classes/semver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def note(self, prerelease: ReleaseType = ReleaseType.RELEASE, filename: str | No
249249

250250
if filename is not None:
251251
# make sure the directory exists
252-
directory = Path.parent(filename)
252+
directory = Path(filename).parent
253253
if not Path.exists(directory):
254254
Path.mkdir(directory, parents=True)
255255
with Path.open(filename, 'w') as f:

0 commit comments

Comments
 (0)