Skip to content

Commit

Permalink
CR
Browse files Browse the repository at this point in the history
  • Loading branch information
omerzi committed Nov 19, 2023
1 parent f7cf122 commit feeb0a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packagehandlers/mavenpackagehandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func NewMavenPackageHandler(scanDetails *utils.ScanDetails) *MavenPackageHandler
}
// The mvn-dep-tree plugin has already been installed during the audit dependency tree build phase,
// Therefore, we set the `isDepTreeInstalled` flag to true
mavenDepTreeManager := java.NewMavenDepTreeManager(depTreeParams, java.ProjectsCmd, true)
mavenDepTreeManager := java.NewMavenDepTreeManager(depTreeParams, java.Projects, true)
return &MavenPackageHandler{MavenDepTreeManager: mavenDepTreeManager}
}

Expand Down
2 changes: 1 addition & 1 deletion packagehandlers/packagehandlers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ func TestGetDependenciesFromDependencyManagement(t *testing.T) {
}

func TestGetProjectPoms(t *testing.T) {
mvnHandler := &MavenPackageHandler{MavenDepTreeManager: java.NewMavenDepTreeManager(&java.DepTreeParams{}, java.ProjectsCmd, false)}
mvnHandler := &MavenPackageHandler{MavenDepTreeManager: java.NewMavenDepTreeManager(&java.DepTreeParams{}, java.Projects, false)}
currDir, err := os.Getwd()
assert.NoError(t, err)
tmpDir, err := os.MkdirTemp("", "")
Expand Down

0 comments on commit feeb0a5

Please sign in to comment.