Skip to content

Commit

Permalink
fix(maven): returns error when mvn command exit with non-zero code
Browse files Browse the repository at this point in the history
  • Loading branch information
iseki0 committed Jun 29, 2022
1 parent fb80714 commit 1b47cd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions module/maven/mvn_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ func scanMvnDependency(ctx context.Context, projectDir string) (map[Coordinate][
cmdErr.code = c.ProcessState.ExitCode()
cmdErr.err = e
logger.Err.Println("mvn exit with error")
return nil, cmdErr
}
logger.Info.Println("mvn exit with no errors")
logger.Info.Println("Walk dir collect dependency-graph.json")
Expand Down

0 comments on commit 1b47cd8

Please sign in to comment.