Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Commit

Permalink
Support .ear, .adm file format #49 (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
tedwon authored Oct 13, 2021
1 parent 0371d9d commit f214460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deplist.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down

0 comments on commit f214460

Please sign in to comment.