Skip to content

Commit

Permalink
Cleanup PlatformImpl.toString
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtSilvio committed Jul 9, 2024
1 parent 80abf1d commit aa43279
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ private data class PlatformImpl(
if (variant.isNotEmpty() || osVersion.isNotEmpty() || osFeatures.isNotEmpty()) {
append(',')
append(variant.escapeReplace(',', '$'))
}
if (osVersion.isNotEmpty() || osFeatures.isNotEmpty()) {
append(',')
append(osVersion.escapeReplace(',', '$'))
}
for (osFeature in osFeatures) {
append(',')
append(osFeature.escapeReplace(',', '$'))
if (osVersion.isNotEmpty() || osFeatures.isNotEmpty()) {
append(',')
append(osVersion.escapeReplace(',', '$'))
for (osFeature in osFeatures) {
append(',')
append(osFeature.escapeReplace(',', '$'))
}
}
}
}
}
Expand Down

0 comments on commit aa43279

Please sign in to comment.