Skip to content

Commit c2646b4

Browse files
committed
Use latest version when latest is given to update
1 parent 98cc6e8 commit c2646b4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

brainframe/cli/commands/update.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ def update():
1616
docker_compose.assert_installed(install_path)
1717

1818
if args.version == "latest":
19-
requested_version_str = docker_compose.check_existing_version(
20-
install_path
21-
)
19+
requested_version_str = docker_compose.get_latest_version()
2220
else:
2321
requested_version_str = args.version
2422

0 commit comments

Comments
 (0)