(entries)
| 87 | } |
| 88 | |
| 89 | function printStatus(entries) { |
| 90 | console.log(`Cache root: ${CACHE_ROOT}`); |
| 91 | for (const entry of entries) { |
| 92 | const destination = join(ROOT, entry.destination); |
| 93 | console.log( |
| 94 | `${entry.label}: destination=${existsAndHasContent(destination) ? "present" : "missing"} cache=${ |
| 95 | existsAndHasContent(entry.cachePath) ? "present" : "missing" |
| 96 | }`, |
| 97 | ); |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | function buildEntries() { |
| 102 | const rootLockHash = hashFiles(["package-lock.json"]); |
no test coverage detected