Skip to content

Commit

Permalink
Return when there's no open target issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lowply committed Jan 13, 2021
1 parent 43b186a commit d345f2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/auto_closer.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ func (a *autoCloser) getIssuesList() error {

func (a *autoCloser) closeIssues() error {
if len(a.issues) == 0 {
fmt.Println("No issues found with the label: " + a.label)
fmt.Printf("No issues found with the label: %v", a.label)
return nil
}

if len(a.issues) < a.keep {
Expand Down

0 comments on commit d345f2c

Please sign in to comment.