mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-05-01 20:38:34 +02:00
Update development dependencies
This commit is contained in:
parent
d9106fb21d
commit
970a1475f1
6 changed files with 106 additions and 92 deletions
17
dist/main/index.js
vendored
17
dist/main/index.js
vendored
|
@ -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; }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue