mirror of
https://github.com/element-hq/synapse.git
synced 2025-11-09 00:02:41 -05:00
parent
3b59ac3b69
commit
cba3a814c6
1
changelog.d/19092.misc
Normal file
1
changelog.d/19092.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix lints on main branch.
|
||||||
@ -821,7 +821,9 @@ def get_repo_and_check_clean_checkout(
|
|||||||
f"{path} is not a git repository (expecting a {name} repository)."
|
f"{path} is not a git repository (expecting a {name} repository)."
|
||||||
)
|
)
|
||||||
while repo.is_dirty():
|
while repo.is_dirty():
|
||||||
if not click.confirm(f"Uncommitted changes exist in {path}. Commit or stash them. Ready to continue?"):
|
if not click.confirm(
|
||||||
|
f"Uncommitted changes exist in {path}. Commit or stash them. Ready to continue?"
|
||||||
|
):
|
||||||
raise click.ClickException("Aborted.")
|
raise click.ClickException("Aborted.")
|
||||||
|
|
||||||
return repo
|
return repo
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user