Skip to content

Commit

Permalink
🎨 Refactoring
Browse files Browse the repository at this point in the history
Signed-off-by: zethson <[email protected]>
  • Loading branch information
Zethson committed Jul 15, 2024
1 parent ef105c1 commit fe1b400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lamindb/core/_sync_git.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def get_filepath_within_git_repo(
git_process.stdout.close()
git_process.wait()

command = f"git ls-tree -r {commit_hash} | grep -E {blob_hash}"
command = " ".join(git_command) + " | " + " ".join(grep_command)
if result.returncode != 0 and result.stderr.decode() != "":
raise RuntimeError(f"{command}\n{result.stderr.decode()}")
if len(result.stdout.decode()) == 0:
Expand Down

0 comments on commit fe1b400

Please sign in to comment.