Skip to content

Commit

Permalink
Formatter Bugfx
Browse files Browse the repository at this point in the history
  • Loading branch information
MFlisar committed Apr 14, 2024
1 parent acd4dd7 commit ee302e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ object ChangelogDefaults {
val major = floor((tmp / 10f.pow(4))).toInt()
tmp -= major * 10f.pow(6)
val minor = floor((tmp / 10f.pow(2))).toInt()
tmp -= major * 10f.pow(4)
tmp -= minor * 10f.pow(4)
val patch = tmp.toInt()
"$prefix$major.$minor.$patch"
}
Expand All @@ -246,7 +246,7 @@ object ChangelogDefaults {
val major = floor((tmp / 10f.pow(6))).toInt()
tmp -= major * 10f.pow(6)
val minor = floor((tmp / 10f.pow(4))).toInt()
tmp -= major * 10f.pow(4)
tmp -= minor * 10f.pow(4)
val patch = floor((tmp / 10f.pow(2))).toInt()
tmp -= patch * 10f.pow(2)
val candidate = tmp.toInt()
Expand Down

0 comments on commit ee302e2

Please sign in to comment.