This commit is contained in:
2026-08-14 16:03:47 +01:00
parent fd53e3f4fb
commit dfdc3b2840
2463 changed files with 186456 additions and 111315 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ const getDirs = (path) => {
.split('/')
.slice(0, -1)
.reduce((set, path) => {
const s = set[set.length - 1];
const s = set.at(-1);
if (s !== undefined) {
path = (0, node_path_1.join)(s, path);
}
@@ -63,7 +63,7 @@ class PathReservations {
this.#queues.set(dir, [new Set([fn])]);
}
else {
const l = q[q.length - 1];
const l = q.at(-1);
if (l instanceof Set) {
l.add(fn);
}