mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 02:36:24 -04:00
#1817 Removed unnecessary variable
This commit is contained in:
parent
79086fcfae
commit
1b8928800b
Binary file not shown.
@ -96,13 +96,14 @@ fun createDestinationDirectoryAndFile(destinationDirectory: File, destinationFil
|
||||
System.err.println("Could not create resource file ${destinationFile.path}")
|
||||
System.exit(-1)
|
||||
}
|
||||
val initialXMLResourceFileContent = """
|
||||
|
||||
destinationFile.writeText(
|
||||
"""
|
||||
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
|
||||
<resources>
|
||||
</resources>
|
||||
""".trimIndent()
|
||||
|
||||
destinationFile.writeText(initialXMLResourceFileContent)
|
||||
)
|
||||
println("Created directory ${destinationDirectory.path} and resource file ${destinationFile.path}")
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user