Update development dependencies

This commit is contained in:
Daz DeBoer 2022-12-07 13:20:39 +13:00
parent d9106fb21d
commit 970a1475f1
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
6 changed files with 106 additions and 92 deletions

17
dist/main/index.js vendored
View file

@ -65599,21 +65599,28 @@ class CacheCleaner {
});
}
setUtimes(pattern, timestamp) {
var e_1, _a;
var _a, e_1, _b, _c;
return __awaiter(this, void 0, void 0, function* () {
const globber = yield glob.create(pattern, {
implicitDescendants: false
});
try {
for (var _b = __asyncValues(globber.globGenerator()), _c; _c = yield _b.next(), !_c.done;) {
const file = _c.value;
fs_1.default.utimesSync(file, timestamp, timestamp);
for (var _d = true, _e = __asyncValues(globber.globGenerator()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
const file = _c;
fs_1.default.utimesSync(file, timestamp, timestamp);
}
finally {
_d = true;
}
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
}
finally { if (e_1) throw e_1.error; }
}