From 97b5d6b809dcecff21375a470a603bb47cec3f2f Mon Sep 17 00:00:00 2001 From: Eduardo Chiarotti Date: Fri, 23 Aug 2024 09:49:59 -0300 Subject: [PATCH] feat: fix get crewai versoin --- src/crewai/cli/deploy/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crewai/cli/deploy/utils.py b/src/crewai/cli/deploy/utils.py index e1594307f..8fe1851df 100644 --- a/src/crewai/cli/deploy/utils.py +++ b/src/crewai/cli/deploy/utils.py @@ -82,7 +82,7 @@ def get_crewai_version(pyproject_path: str = "pyproject.toml") -> str: except Exception as e: print(f"Error reading the pyproject.toml file: {e}") - return None + return "no-version-found" def fetch_and_json_env_file(env_file_path: str = ".env") -> dict: