mirror of
https://github.com/Swatinem/rust-cache
synced 2025-08-18 02:42:18 +00:00
add logging
This commit is contained in:
parent
3faf29c29b
commit
3c291936b0
2 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,8 @@ async function restoreIncrementalProfile(dirName: string) {
|
|||
const contents = await fs.promises.readFile(incrementalJson, "utf8");
|
||||
const { modifiedTimes } = JSON.parse(contents);
|
||||
|
||||
core.debug(`restoring incremental profile directory "${dirName}" with ${modifiedTimes} files`);
|
||||
|
||||
// Write the mtimes to all the files in the profile directory
|
||||
for (const fileName of Object.keys(modifiedTimes)) {
|
||||
const mtime = modifiedTimes[fileName];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue