Use precise matching for artifact bundles

This should fix the warnings issued when saving artifact bundles.
This commit is contained in:
Daz DeBoer committed 2021-10-16 09:49:15 -06:00
1 parent aa2ed2e033
commit cb6a0acca4
2 files changed
+5 -2

No files matched your search

+4 -1
View File
@@ -101,7 +101,10 @@ export class GradleUserHomeCache extends AbstractCache {
): Promise<void> {
const bundleMetaFile = this.getBundleMetaFile(bundle)
const globber = await glob.create(artifactPath)
const globber = await glob.create(artifactPath, {
implicitDescendants: false,
followSymbolicLinks: false
})
const bundleFiles = await globber.glob()
// Handle no matching files