Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a2bb99e

Browse files
committed
Add message when no cache was found for a language
1 parent 2072779 commit a2bb99e

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

lib/dependency-caching.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/dependency-caching.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/dependency-caching.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ export async function downloadDependencyCaches(
122122
if (hitKey !== undefined) {
123123
logger.info(`Cache hit on key ${hitKey} for ${language}.`);
124124
restoredCaches.push(language);
125+
} else {
126+
logger.info(`No suitable cache found for ${language}.`);
125127
}
126128
}
127129

0 commit comments

Comments
 (0)