Removing more duplicate logs
@@ -66,15 +66,10 @@ class GoDepBomTool extends BomTool {
public boolean isBomToolApplicable() {
boolean isTheBestGoBomTool = false
if (detectFileManager.containsAllFiles(sourcePath, GOPKG_LOCK_FILENAME)) {
- logger.debug("Found a $GOPKG_LOCK_FILENAME")
isTheBestGoBomTool = true
} else {
- logger.debug("Did not find a $GOPKG_LOCK_FILENAME")
boolean otherGoBomToolsWouldBeBetter = goGodepsBomTool.isBomToolApplicable() || goVndrBomTool.isBomToolApplicable()
boolean foundGoFiles = detectFileManager.containsAllFilesToDepth(sourcePath, detectConfiguration.getSearchDepth(), GOFILE_FILENAME_PATTERN)
- if (!foundGoFiles) {
- logger.debug("Could not find files matching the pattern $GOFILE_FILENAME_PATTERN")
- }
if (foundGoFiles && otherGoBomToolsWouldBeBetter) {
logger.debug("A different Go BomTool is applicable for source path $sourcePath")
}
