Skip to content

Commit

Permalink
Print minimum_fraction_length in description even when unset
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsim authored Mar 3, 2022
1 parent d77d23c commit 54a2463
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public struct NumberSeparatorConfiguration: RuleConfiguration, Equatable {
if let minimumFractionLength = minimumFractionLength {
minimumFractionLengthDescription = ", minimum_fraction_length: \(minimumFractionLength)"
} else {
minimumFractionLengthDescription = ""
minimumFractionLengthDescription = ", minimum_fraction_length: none"
}
return severityConfiguration.consoleDescription
+ ", minimum_length: \(minimumLength)"
Expand Down

0 comments on commit 54a2463

Please sign in to comment.