mirror of
https://github.com/anchore/syft.git
synced 2026-11-02 23:46:35 +01:00
fix: bump stereoscope to fix symlink performance issue (#3953)
Signed-off-by: Keith Zantow <kzantow@gmail.com>
This commit is contained in:
@@ -1451,7 +1451,7 @@ func TestFileResolver_FilesByGlob(t *testing.T) {
|
||||
|
||||
resolver, err := NewFromFile(parentPath, filePath)
|
||||
assert.NoError(t, err)
|
||||
refs, err := resolver.FilesByGlob("*.txt")
|
||||
refs, err := resolver.FilesByGlob("**/*.txt")
|
||||
assert.NoError(t, err)
|
||||
|
||||
assert.Len(t, refs, 1)
|
||||
|
||||
@@ -11,5 +11,5 @@ import (
|
||||
// NewOpamPackageManagerCataloger returns a new cataloger object for OCaml opam.
|
||||
func NewOpamPackageManagerCataloger() pkg.Cataloger {
|
||||
return generic.NewCataloger("opam-cataloger").
|
||||
WithParserByGlobs(parseOpamPackage, "*opam")
|
||||
WithParserByGlobs(parseOpamPackage, "**/*opam")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user