Skip to content

Commit

Permalink
To string to avoid class cast when string is used with templating fea…
Browse files Browse the repository at this point in the history
…tures.
  • Loading branch information
trevjonez committed Oct 6, 2016
1 parent e5e656a commit aad2a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/src/main/kotlin/com/trevjonez/agrp/AgrpTask.kt
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ abstract class AgrpTask : DefaultTask() {

private fun applyModifiers(tagName: String): String {
var result = tagName
configs.forEach { result = it.tagModifier?.transform(result) ?: result }
configs.forEach { result = it.tagModifier?.transform(result)?.toString() ?: result }
return result
}
}

0 comments on commit aad2a82

Please sign in to comment.