Skip to content

Commit

Permalink
OCM-9973 | ci: Fix the commit-focus cannot find issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xueli181114 committed Jul 29, 2024
1 parent 4fa8cf6 commit 48a21d3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/utils/exec/rosacli/pr_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ func GetFocusCaseIDs(commitMessage string) (string, error) {
reg := regexp.MustCompile(`ids?:([0-9,\s,]*)`)
idsMatched := reg.FindAllStringSubmatch(commitMessage, -1)
focus := ""
if len(idsMatched) == 0 {
return focus, nil
}
var ids = []string{}
for _, matched := range idsMatched {
ids = append(ids, common.ParseCommaSeparatedStrings(matched[1])...)
Expand Down

0 comments on commit 48a21d3

Please sign in to comment.