Skip to content

Commit

Permalink
icons generator: fix processing icon with dot in name
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Jun 3, 2022
1 parent 60a3786 commit a4829ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class IconsGenerator {
.removePrefix("svg/")
.replace("-", "_")
.lowercase()
val filenameXml = filenameSvg.replace("svg", "xml")
val filenameXml = filenameSvg.removeSuffix(".svg").replace('.', '_') + ".xml"

val outFileSvg = File(resourceOutDir.toFile(), filenameSvg)
val outFileXml = File(resourceOutDir.toFile(), filenameXml)
Expand Down

0 comments on commit a4829ab

Please sign in to comment.