mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-07 22:31:17 -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.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}")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user