Apply suggestions from code review

Signed-off-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com>
This commit is contained in:
Aramis Sennyey
2025-05-07 14:38:48 -04:00
committed by GitHub
parent bf9a173c96
commit 7e7ea1477a
@@ -46,7 +46,6 @@ export class PackageDocsCache {
});
const map = new Map<string, CacheEntry>();
for (const file of cacheFiles) {
console.log(file);
const pkg = dirname(file);
const cache = await readFile(workerPath.join(cacheDir, file), 'utf-8');
const cacheJson = JSON.parse(cache);
@@ -113,7 +112,6 @@ export class PackageDocsCache {
const targetDir = cliPaths.resolveTargetRoot(restoreTo);
await mkdirp(targetDir);
console.log(contentsDir, targetDir);
await cp(contentsDir, targetDir, { recursive: true });
}