Skip to content

Commit

Permalink
chore: does not return early after checking out a commit
Browse files Browse the repository at this point in the history
Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
  • Loading branch information
tromai committed Sep 28, 2023
1 parent 0f56256 commit 185e9df
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/macaron/slsa_analyzer/git_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ def check_out_repo_target(git_obj: Git, branch_name: str = "", digest: str = "",
try:
# Pull the latest changes on the current branch fast-forward only.
git_obj.repo.git.pull("--ff-only")
return True
except GitCommandError as error:
logger.error(error)
return False
Expand Down

0 comments on commit 185e9df

Please sign in to comment.