Skip to content

Commit

Permalink
add --module flag to jf rt bad
Browse files Browse the repository at this point in the history
  • Loading branch information
sarao1310 committed Jul 17, 2023
1 parent 26ceca1 commit 6927744
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion artifactory/commands/buildinfo/adddependencies.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,9 @@ func (badc *BuildAddDependenciesCommand) savePartialBuildInfo(dependencies []bui
populateFunc := func(partial *buildinfo.Partial) {
partial.ModuleType = buildinfo.Generic
partial.Dependencies = dependencies
partial.ModuleId = badc.buildConfiguration.GetModule()
if badc.buildConfiguration.GetModule() != "" {
partial.ModuleId = badc.buildConfiguration.GetModule()
}
}
buildName, err := badc.buildConfiguration.GetBuildName()
if err != nil {
Expand Down

0 comments on commit 6927744

Please sign in to comment.