Follow links when cache-key is a glob

This commit is contained in:
Ivan Smirnov 2025-05-14 02:28:25 +01:00
parent 395039afd1
commit e5e8fac828

View file

@ -215,6 +215,7 @@ impl CacheInfo {
// If we have any globs, process them in a single pass.
if !globs.is_empty() {
let walker = globwalk::GlobWalkerBuilder::from_patterns(directory, &globs)
.follow_links(true)
.file_type(globwalk::FileType::FILE | globwalk::FileType::SYMLINK)
.build()?;
for entry in walker {