Skip to content

Commit

Permalink
Add message when no cache was found for a language
Browse files Browse the repository at this point in the history
  • Loading branch information
mbg committed Oct 7, 2024
1 parent 2072779 commit a2bb99e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/dependency-caching.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/dependency-caching.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/dependency-caching.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ export async function downloadDependencyCaches(
if (hitKey !== undefined) {
logger.info(`Cache hit on key ${hitKey} for ${language}.`);
restoredCaches.push(language);
} else {
logger.info(`No suitable cache found for ${language}.`);
}
}

Expand Down

0 comments on commit a2bb99e

Please sign in to comment.