Skip to content

Commit

Permalink
remove update warning message (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
hubertdeng123 authored Dec 30, 2024
1 parent 33c276c commit 2ed2a09
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions devservices/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
from devservices.constants import LOGGER_NAME
from devservices.exceptions import DockerComposeInstallationError
from devservices.exceptions import DockerDaemonNotRunningError
from devservices.utils.check_for_update import check_for_update
from devservices.utils.console import Console
from devservices.utils.docker_compose import check_docker_compose_version

Expand Down Expand Up @@ -102,14 +101,6 @@ def main() -> None:
else:
parser.print_help()

if args.command != "update" and os.environ.get("CI") != "true":
newest_version = check_for_update()
if newest_version != current_version:
console.warning(
f"WARNING: A new version of devservices is available: {newest_version}"
)
console.warning('To update, run: "devservices update"')


if __name__ == "__main__":
main()

0 comments on commit 2ed2a09

Please sign in to comment.