We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57c5fb0 commit 7337d00Copy full SHA for 7337d00
tasks.py
@@ -40,7 +40,8 @@ def git_push(c):
40
print("Aborting: empty commit message.")
41
return
42
43
- c.run(f'git commit -S -m "{message}"')
+ sanitized_message = shlex.quote(message)
44
+ c.run(f"git commit -S -m {sanitized_message}")
45
c.run("git push")
46
except KeyboardInterrupt:
47
print("\nAborted by user.")
0 commit comments