refactor(watcher): variable name change

This commit is contained in:
aro 2023-01-05 13:00:21 +01:00
parent 3b9d28871f
commit 7dffb54579

View file

@ -21,7 +21,7 @@ class Watcher(
var foldersTotal = 0
for (entry: WatcherEntry in watcherManager.getEntries().values) {
filesTotal += 1
entry.map.forEach {
entry.outputs.forEach {
val movePath = "${it.toAbsolutePath()}/${entry.file.name}"
try {
Files.copy(entry.file.toPath(), Path.of(movePath), StandardCopyOption.REPLACE_EXISTING)