Skip to content

Commit

Permalink
(internal/gitlab) comment BranchPushed
Browse files Browse the repository at this point in the history
  • Loading branch information
zaquestion committed Nov 10, 2017
1 parent 1d7b9db commit bfc1e05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/gitlab/gitlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ func IssueList(project string, opts *gitlab.ListProjectIssuesOptions) ([]*gitlab
return list, nil
}

// BranchPushed checks if a branch exists on a specified GitLab Project
func BranchPushed(project, branch string) bool {
p, err := FindProject(project)
if err != nil {
Expand Down

0 comments on commit bfc1e05

Please sign in to comment.