#1817 Removed unnecessary variable

This commit is contained in:
Frans-Lukas 2020-03-09 17:40:58 +01:00
parent 79086fcfae
commit 1b8928800b
2 changed files with 4 additions and 3 deletions

Binary file not shown.

View File

@ -96,13 +96,14 @@ fun createDestinationDirectoryAndFile(destinationDirectory: File, destinationFil
System.err.println("Could not create resource file ${destinationFile.path}") System.err.println("Could not create resource file ${destinationFile.path}")
System.exit(-1) System.exit(-1)
} }
val initialXMLResourceFileContent = """
destinationFile.writeText(
"""
<?xml version=\"1.0\" encoding=\"UTF-8\"?> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
<resources> <resources>
</resources> </resources>
""".trimIndent() """.trimIndent()
)
destinationFile.writeText(initialXMLResourceFileContent)
println("Created directory ${destinationDirectory.path} and resource file ${destinationFile.path}") println("Created directory ${destinationDirectory.path} and resource file ${destinationFile.path}")
} }