refactor(watcher): variable name change
This commit is contained in:
parent
3b9d28871f
commit
7dffb54579
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class Watcher(
|
||||||
var foldersTotal = 0
|
var foldersTotal = 0
|
||||||
for (entry: WatcherEntry in watcherManager.getEntries().values) {
|
for (entry: WatcherEntry in watcherManager.getEntries().values) {
|
||||||
filesTotal += 1
|
filesTotal += 1
|
||||||
entry.map.forEach {
|
entry.outputs.forEach {
|
||||||
val movePath = "${it.toAbsolutePath()}/${entry.file.name}"
|
val movePath = "${it.toAbsolutePath()}/${entry.file.name}"
|
||||||
try {
|
try {
|
||||||
Files.copy(entry.file.toPath(), Path.of(movePath), StandardCopyOption.REPLACE_EXISTING)
|
Files.copy(entry.file.toPath(), Path.of(movePath), StandardCopyOption.REPLACE_EXISTING)
|
||||||
|
|
Reference in a new issue