From f2144607d343600d4ad91fa0bf8feda9f5fd5c6f Mon Sep 17 00:00:00 2001 From: Ted Won Date: Wed, 13 Oct 2021 21:33:10 +1000 Subject: [PATCH] Support .ear, .adm file format #49 (#50) https://github.com/mcoops/deplist/issues/49 --- deplist.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deplist.go b/deplist.go index adfc797..131bd66 100644 --- a/deplist.go +++ b/deplist.go @@ -126,7 +126,7 @@ func GetDeps(fullPath string) ([]Dependency, Bitmask, error) { ext := filepath.Ext(filename) // java - if ext == ".jar" || ext == ".war" || ext == ".hpi" || ext == ".zip" { + if ext == ".jar" || ext == ".war" || ext == ".ear" || ext == ".adm" || ext == ".hpi" || ext == ".zip" { pkgs, err := scan.GetJarDeps(path) if err == nil {