1
0

Remove unnecessary comments in main.js

This commit is contained in:
2025-05-25 22:25:55 +02:00
parent 4205493ace
commit 9f67d4f95b

View File

@@ -683,7 +683,6 @@ async function main() {
const now = Date.now();
folders = folders.map(folderObj => {
// only if were monitoring and have a birthday timestamp
if (folderObj.firstCandidateBirthday != null) {
const elapsedMin = (now - folderObj.firstCandidateBirthday) / 1000 / 60;
if (elapsedMin >= minutesThreshold) {
@@ -735,7 +734,6 @@ async function main() {
stopMonitoringWatcher(f.path);
return { ...f, needsRelocation: true, monitoring: false };
}
// Keine Änderung an needsRelocation
return f;
}));