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