cataloger: use ** for glob patterns

Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
Alfredo Deza
2020-07-21 11:19:42 -04:00
parent 03bbcfa08d
commit cea38fcba3
5 changed files with 14 additions and 14 deletions
+5 -5
View File
@@ -11,11 +11,11 @@ import (
)
var archiveFormatGlobs = []string{
"*.jar",
"*.war",
"*.ear",
"*.jpi",
"*.hpi",
"**/*.jar",
"**/*.war",
"**/*.ear",
"**/*.jpi",
"**/*.hpi",
}
type archiveParser struct {