Show Issue Reference in Product Reference only if set

Fixes #18
This commit is contained in:
Oliver Jakoubek 2023-03-24 17:04:48 +01:00
parent 5037c728bc
commit 4304874fa6

View file

@ -31,6 +31,9 @@ func NewMissingParameter(missingRate, missingSize int) MissingParameter {
}
func (pr *ProductReference) IssueReference() string {
if pr.issueReference == "" {
return ""
}
return fmt.Sprintf("+99195%-8s", pr.issueReference)
}