Browse Source

fix wrong log when push to a new branch (#1220)

for-closed-social
Lunny Xiao 7 years ago
committed by GitHub
parent
commit
3cf0e513e6
2 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/action.go
  2. +0
    -0
     

+ 1
- 1
models/action.go View File

@ -360,7 +360,7 @@ func UpdateIssuesCommit(doer *User, repo *Repository, commits []*PushCommit) err
issue, err := GetIssueByRef(ref) issue, err := GetIssueByRef(ref)
if err != nil { if err != nil {
if IsErrIssueNotExist(err) {
if IsErrIssueNotExist(err) || err == errMissingIssueNumber {
continue continue
} }
return err return err

+ 0
- 0
View File


Loading…
Cancel
Save