Only check requirements update in interactive mode (#2258)

This commit is contained in:
Martin Xu 2023-12-05 15:57:41 -08:00 committed by GitHub
parent 0fff63a52e
commit 77405d1701
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -483,7 +483,9 @@ def deploy(
# Set the log level.
console.set_log_level(loglevel)
dependency.check_requirements()
# Only check requirements if not interactive. There is user interaction for requirements update.
if not interactive:
dependency.check_requirements()
# Check if we are set up.
prerequisites.check_initialized(frontend=True)