Skip to content

Commit

Permalink
fix: message
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Dec 11, 2023
1 parent 80876e3 commit 3c09fdc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/utils/restore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ export async function restoreCaches() {
);

utils.info(
`
Found ${caches.length} cache(s):
${utils.stringify(caches)}
`
caches.length > 0
? `
Found ${caches.length} cache(s):
${utils.stringify(caches)}
`
: "Found no caches."
);

for (const cache of caches) {
Expand Down

0 comments on commit 3c09fdc

Please sign in to comment.