mirror of
https://github.com/actions/stale.git
synced 2025-12-11 04:32:53 +00:00
remove internal API client
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -1631,7 +1631,7 @@ class StateCacheStorage {
|
||||
yield resetCacheWithOctokit(CACHE_KEY);
|
||||
const fileSize = fs_1.default.statSync(filePath).size;
|
||||
if (fileSize === 0) {
|
||||
core.info(`the cache ${CACHE_KEY} will be removed`);
|
||||
core.info(`the state will be removed`);
|
||||
return;
|
||||
}
|
||||
yield cache.saveCache([path_1.default.dirname(filePath)], CACHE_KEY);
|
||||
|
||||
Reference in New Issue
Block a user