diff --git a/buildSrc/src/main/kotlin/EmojiPlugin.kt b/buildSrc/src/main/kotlin/EmojiPlugin.kt index f957342..43befae 100644 --- a/buildSrc/src/main/kotlin/EmojiPlugin.kt +++ b/buildSrc/src/main/kotlin/EmojiPlugin.kt @@ -50,7 +50,7 @@ class EmojiPlugin : Plugin { else -> { val description = s.substringAfterLast("E").substringAfter(" ") val status = s.substringAfter(";").substringBefore("#").trim() - if (!(description.contains("skin tone")&&status.equals("unqualified"))) { + if (!description.contains("skin tone") && !status.contains("unqualified")) { val code = s.substringBefore(";").replace(Regex(" +"), " ").trim()