mirror of
https://github.com/helm/chart-testing.git
synced 2026-02-05 09:45:14 +01:00
* feat: verify if targetBranch is present in git repo If a targetBranch is not present in the git repository the `ct list-changed` command will fail. The error message for this is not really meaningful. This commit will validate if the branch exists and throw a error message which the user will understand. closes #330 Signed-off-by: Marco Lecheler <marco@task.media> * chore(test): mocking test for chart.BranchExists() Signed-off-by: Marco Lecheler <marco@task.media> * fix(lint): use fmt.Errorf for error msg Signed-off-by: Marco Lecheler <marco@task.media> --------- Signed-off-by: Marco Lecheler <marco@task.media>
2.5 KiB
2.5 KiB