Skip to content

Commit e885ce7

Browse files
committed
Fixed issue found in review
1 parent e7a5548 commit e885ce7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

GitVersionCore/GitVersionContext.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ void AssignBranchConfiguration()
9696
}
9797
else
9898
{
99-
throw new Exception(string.Format("Multiple branch configurations match the current branch name of ''. Matching configurations: '{0}'", string.Join(", ", matchingBranches.Select(b => b.Key))));
99+
const string format = "Multiple branch configurations match the current branch name of '{0}'. Matching configurations: '{1}'";
100+
throw new Exception(string.Format(format, CurrentBranch.Name, string.Join(", ", matchingBranches.Select(b => b.Key))));
100101
}
101102
}
102103
}

0 commit comments

Comments
 (0)