@actions/glob: extend hashFiles options (#2357)
* @actions/glob: extend hashFiles options * improve hashFiles symlink handling * Improve error handling and messaging in hashFiles function * apply relative exclude patterns across all roots and use named minimatch import * format error message
This commit is contained in:
1 parent
bc670c66dd
commit
1944b19154
5 files changed
+420
-10
No files matched your search
+1
-1
@@ -37,5 +37,5 @@ export async function hashFiles(
|
||||
followSymbolicLinks = options.followSymbolicLinks
|
||||
}
|
||||
const globber = await create(patterns, {followSymbolicLinks})
|
||||
return _hashFiles(globber, currentWorkspace, verbose)
|
||||
return _hashFiles(globber, currentWorkspace, options, verbose)
|
||||
}
|
||||
Reference in new issue
Block a user