Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
josejg committed Aug 17, 2024
1 parent 7cee757 commit 390d3a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmfoundry/callbacks/env_logging_callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __init__(
self.packages_to_log = packages_to_log or _PACKAGES_TO_LOG

def _get_git_info(self, repo_path: str) -> Optional[dict[str, str]]:
if not os.path.isdir(os.path.join(self.workspace_dir, folder)):
if not os.path.isdir(repo_path):
return None
try:
repo = git.Repo(repo_path)
Expand Down

0 comments on commit 390d3a4

Please sign in to comment.