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

Support .ear, .adm file format #50

Merged
merged 1 commit into from
Oct 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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