mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
copy
This commit is contained in:
parent
41c5559b4c
commit
82ee5d53f6
1 changed files with 4 additions and 1 deletions
|
@ -69,6 +69,9 @@ def check_version(io, just_check=False, verbose=False):
|
||||||
VERSION_CHECK_FNAME.parent.mkdir(parents=True, exist_ok=True)
|
VERSION_CHECK_FNAME.parent.mkdir(parents=True, exist_ok=True)
|
||||||
VERSION_CHECK_FNAME.touch()
|
VERSION_CHECK_FNAME.touch()
|
||||||
|
|
||||||
|
###
|
||||||
|
# is_update_available = True
|
||||||
|
|
||||||
if just_check or verbose:
|
if just_check or verbose:
|
||||||
if is_update_available:
|
if is_update_available:
|
||||||
io.tool_output("Update available")
|
io.tool_output("Update available")
|
||||||
|
@ -94,7 +97,7 @@ Newer aider version v{latest_version} is available. To upgrade, run:
|
||||||
success = utils.check_pip_install_extra(
|
success = utils.check_pip_install_extra(
|
||||||
io,
|
io,
|
||||||
None,
|
None,
|
||||||
f"Newer aider version v{latest_version} is available. To upgrade, run:",
|
f"Newer aider version v{latest_version} is available.",
|
||||||
["--upgrade", "aider-chat"],
|
["--upgrade", "aider-chat"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue