Skip to content

Commit

Permalink
Remove working dir from cacheDependencyGlob error message (#162)
Browse files Browse the repository at this point in the history
Since #160 we allow searching
everywhere
  • Loading branch information
eifinger authored Nov 23, 2024
1 parent 9b71657 commit 691a091
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 691a091

Please sign in to comment.