mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
feat: fix get crewai versoin
This commit is contained in:
@@ -82,7 +82,7 @@ def get_crewai_version(pyproject_path: str = "pyproject.toml") -> str:
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Error reading the pyproject.toml file: {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:
|
def fetch_and_json_env_file(env_file_path: str = ".env") -> dict:
|
||||||
|
|||||||
Reference in New Issue
Block a user