Skip to content

Commit

Permalink
Fix path assignment in go() function (#2291)
Browse files Browse the repository at this point in the history
  • Loading branch information
safoinme authored Jan 15, 2024
1 parent 835c862 commit 5558fb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zenml/cli/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,11 +418,11 @@ def go() -> None:
gave_email = _prompt_email(AnalyticsEventSource.ZENML_GO)
metadata = {"gave_email": gave_email}

zenml_tutorial_path = os.path.join(os.getcwd(), "zenml_tutorial")

with track_handler(event=AnalyticsEvent.RUN_ZENML_GO, metadata=metadata):
console.print(zenml_cli_privacy_message, width=80)

zenml_tutorial_path = os.path.join(os.getcwd(), "zenml_tutorial")

if not os.path.isdir(zenml_tutorial_path):
try:
from git.repo.base import Repo
Expand Down

0 comments on commit 5558fb0

Please sign in to comment.