mirror of
https://github.com/actions/stale.git
synced 2025-12-10 20:21:20 +00:00
Add logging
This commit is contained in:
4
dist/index.js
vendored
4
dist/index.js
vendored
@@ -1579,8 +1579,10 @@ class State {
|
||||
}
|
||||
persist() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
if (this.debug)
|
||||
if (this.debug) {
|
||||
core.debug('The state is not persisted in the debug mode');
|
||||
return;
|
||||
}
|
||||
const serialized = Array.from(this.processedIssuesIDs).join('|');
|
||||
const tmpDir = os_1.default.tmpdir();
|
||||
const file = path_1.default.join(tmpDir, crypto_1.default.randomBytes(8).readBigUInt64LE(0).toString());
|
||||
|
||||
Reference in New Issue
Block a user