Fixed name shadowing
This commit is contained in:
parent
c26c326967
commit
b929809bc7
@ -1295,9 +1295,9 @@ object FileUtil {
|
|||||||
if (name == fileToExtract) {
|
if (name == fileToExtract) {
|
||||||
val tempFile = tempFile(name)
|
val tempFile = tempFile(name)
|
||||||
tempFile.deleteOnExit()
|
tempFile.deleteOnExit()
|
||||||
val output = FileOutputStream(tempFile)
|
val tempOutput = FileOutputStream(tempFile)
|
||||||
output.use { output ->
|
tempOutput.use {
|
||||||
inputStream.copyTo(output)
|
inputStream.copyTo(it)
|
||||||
}
|
}
|
||||||
return tempFile.absolutePath
|
return tempFile.absolutePath
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user