Actually adding the merged code location.
*/
package com.blackducksoftware.integration.hub.detect.bomtool.nuget
-import com.blackducksoftware.integration.hub.detect.bomtool.BomTool
-import com.blackducksoftware.integration.hub.detect.codelocation.CodeLocationName
-
import org.apache.commons.io.FileUtils
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Component
+
import com.blackducksoftware.integration.hub.bdio.graph.DependencyGraphCombiner
import com.blackducksoftware.integration.hub.bdio.graph.MutableDependencyGraph
import com.blackducksoftware.integration.hub.detect.DetectInfo
+import com.blackducksoftware.integration.hub.detect.bomtool.BomTool
import com.blackducksoftware.integration.hub.detect.model.BomToolType
import com.blackducksoftware.integration.hub.detect.model.DetectCodeLocation
import com.blackducksoftware.integration.hub.detect.type.ExecutableType
@@ -204,6 +203,7 @@ class NugetBomTool extends BomTool {
.forEach{
combiner.addGraphAsChildrenToRoot((MutableDependencyGraph) merger.getDependencyGraph(), it.getDependencyGraph())
};
+ mergedCodeLocations.add(merger);
}else if (codeLocationList.size() == 1) {
mergedCodeLocations.add(codeLocationList.first());
}
