Skip to content

Commit

Permalink
secscan: basescores only 1 decimal point
Browse files Browse the repository at this point in the history
Topic: base
Signed-off-by: Ross Bryan <[email protected]>
  • Loading branch information
arborite-rh committed Feb 21, 2024
1 parent 9b477c5 commit ab50bab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion secscan/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (f *Feature) ToSecscanFeature() *secscanv1alpha1.Feature {

var baseScores []string
for i := range f.BaseScores {
baseScores = append(baseScores, fmt.Sprintf("%.2f", f.BaseScores[i]))
baseScores = append(baseScores, fmt.Sprintf("%.1f", f.BaseScores[i]))
}

return &secscanv1alpha1.Feature{
Expand Down

0 comments on commit ab50bab

Please sign in to comment.