Remove unnecessary comments in main.js
This commit is contained in:
2
main.js
2
main.js
@@ -683,7 +683,6 @@ async function main() {
|
||||
const now = Date.now();
|
||||
|
||||
folders = folders.map(folderObj => {
|
||||
// only if we’re 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;
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user