mirror of
https://github.com/corda/corda.git
synced 2025-06-19 07:38:22 +00:00
Filter out tmp files (#6668)
This commit is contained in:
@ -85,6 +85,7 @@ class NodeInfoWatcher(private val nodePath: Path,
|
|||||||
logger.debug { "Examining $it" }
|
logger.debug { "Examining $it" }
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
.filter { !it.endsWith(".tmp") }
|
||||||
.filter { it.isRegularFile() }
|
.filter { it.isRegularFile() }
|
||||||
.filter { file ->
|
.filter { file ->
|
||||||
val lastModifiedTime = file.lastModifiedTime()
|
val lastModifiedTime = file.lastModifiedTime()
|
||||||
|
Reference in New Issue
Block a user