mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-12-22 10:40:44 -06:00
style: seperate line for question
This commit is contained in:
parent
d0796ac350
commit
fc30b5143b
1 changed files with 5 additions and 6 deletions
|
@ -1063,10 +1063,9 @@ class Viv:
|
|||
make_executable(src)
|
||||
echo("symlinking cli")
|
||||
|
||||
if cli.is_file() and confirm(
|
||||
f"Existing file at {a.style(str(cli),'bold')}, "
|
||||
"would you like to overwrite it?"
|
||||
):
|
||||
if cli.is_file():
|
||||
echo(f"Existing file at {a.style(str(cli),'bold')}")
|
||||
if confirm("Would you like to overwrite it?"):
|
||||
cli.unlink()
|
||||
cli.symlink_to(src)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue