Skip to content

Commit

Permalink
Fix invalid method calling
Browse files Browse the repository at this point in the history
  • Loading branch information
babarot committed Feb 14, 2020
1 parent 5afd7c6 commit 43a2fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func (c *CLI) Validate() error {
repo.Labels = ls
cfg.Repos = append(cfg.Repos, repo)
for _, label := range labels {
if c.checkLabelDuplication(cfg.Labels, label) {
if checkLabelDuplication(cfg.Labels, label) {
log.Printf("[WARN] %s is duplicate, so skip to add", label.Name)
continue
}
Expand Down

0 comments on commit 43a2fc6

Please sign in to comment.