(branch, project, out string)
| 98 | } |
| 99 | |
| 100 | func runUnProtectBranch(branch, project, out string) error { |
| 101 | branchInfo, err := unProtectBranch(branch, project) |
| 102 | if err != nil { |
| 103 | return err |
| 104 | } |
| 105 | printBranchOut(out, branchInfo) |
| 106 | return nil |
| 107 | } |
| 108 | |
| 109 | func unProtectBranch(branch, project string) (*gitlab.Branch, error) { |
| 110 | git, err := newGitlabClient() |
no test coverage detected