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

Commit

Permalink
jar: also handle .zip, we might have to handle this better, but can a…
Browse files Browse the repository at this point in the history
…ttempt at unpacking and runing the jar code for now (#48)
  • Loading branch information
mcoops authored Oct 5, 2021
1 parent 80c9c28 commit 0371d9d
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" {
if ext == ".jar" || ext == ".war" || ext == ".hpi" || ext == ".zip" {
pkgs, err := scan.GetJarDeps(path)
if err == nil {

Expand Down

0 comments on commit 0371d9d

Please sign in to comment.