Skip to content

Commit

Permalink
compare with string version of branch name in git updater
Browse files Browse the repository at this point in the history
  • Loading branch information
gvalmon committed Oct 21, 2023
1 parent db9aede commit 77a379e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kuber_kit/artifacts_sync/strategies/git_updater.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def artifact_already_cloned?(shell:, repo_path:, artifact:)
end

target_branch = git_commands.get_branch_name(shell, repo_path)
if target_branch != artifact.branch
if target_branch != artifact.branch.to_s
return false
end

Expand Down

0 comments on commit 77a379e

Please sign in to comment.