1
0

auto-git:

[change] main.js
This commit is contained in:
2025-06-01 08:16:54 +02:00
parent 4571fb003d
commit 42e823b59f

13
main.js
View File

@@ -630,19 +630,6 @@ function enqueueTask(folderPath, fn) {
monitoringQueues.get(folderPath).push(fn);
processQueue(folderPath);
}
async function processQueue(folderPath) {
if (monitoringActive.get(folderPath)) return;
monitoringActive.set(folderPath, true);
const queue = monitoringQueues.get(folderPath) || [];
while (queue.length > 0) {
const task = queue.shift();
try { await task(); } catch (e) { console.error(e); }
}
monitoringActive.set(folderPath, false);
}
function ensureInGitignore(folderPath, name) {
const gitignorePath = path.join(folderPath, '.gitignore');
let lines = [];