list index out of range

This commit is contained in:
Derek DeJonghe 2019-12-16 16:35:27 -05:00
parent dc467743e4
commit 897d983dda

View File

@ -67,7 +67,7 @@ class SemVer(object):
merged_prefix = None
matches = re.findall("[\/][^\/]+[\/]", self.merged_branch)
if len(matches) > 1:
merged_prefix = matches[1][1:-1]
merged_prefix = matches[0][1:-1]
if merged_prefix:
for prefix in self.major_branches: