"Remove quotes from commit messages"
This commit is contained in:
parent
e8c2e9af87
commit
9671989df3
|
@ -146,6 +146,8 @@ def get_git_author(repo: Repo):
|
|||
|
||||
## Commit changes
|
||||
def commit_changes(repo: Repo, message: str, author: Actor):
|
||||
message = message.strip('"')
|
||||
|
||||
res = repo.git.commit('-S', '-m', f'"{message}"', author=f'"{author.name} <{author.email}>"')
|
||||
print(res)
|
||||
print("Committed changes!")
|
||||
|
|
Loading…
Reference in New Issue