mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 22:40:09 +01:00
fix: bug in commit subcommand
This commit is contained in:
parent
e6e3b963dd
commit
14efa15c97
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ class VCS:
|
||||||
message_data = message.encode("utf-8")
|
message_data = message.encode("utf-8")
|
||||||
|
|
||||||
tmp_file = tempfile.NamedTemporaryFile("wb", delete=False)
|
tmp_file = tempfile.NamedTemporaryFile("wb", delete=False)
|
||||||
assert " " not in tmp_file
|
assert " " not in tmp_file.name
|
||||||
|
|
||||||
with tmp_file as fh:
|
with tmp_file as fh:
|
||||||
fh.write(message_data)
|
fh.write(message_data)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue