Skip to content

Commit

Permalink
Remove working dir from cacheDependencyGlob error message
Browse files Browse the repository at this point in the history
Since #160 we allow searching everywhere
  • Loading branch information
eifinger committed Nov 23, 2024
1 parent 9b71657 commit f76b600
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/save-cache/index.js

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

2 changes: 1 addition & 1 deletion dist/setup/index.js

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

2 changes: 1 addition & 1 deletion src/cache/restore-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function computeKeys(version: string): Promise<string> {
cacheDependencyPathHash += await hashFiles(cacheDependencyGlob, true);
if (cacheDependencyPathHash === "-") {
throw new Error(
`No file in ${process.cwd()} matched to [${cacheDependencyGlob.split("\n").join(",")}], make sure you have checked out the target repository`,
`No file matched to [${cacheDependencyGlob.split("\n").join(",")}], make sure you have checked out the target repository`,
);
}
} else {
Expand Down

0 comments on commit f76b600

Please sign in to comment.