diff --git a/utils/techutils/techutils.go b/utils/techutils/techutils.go index 5ed8e76b..19c2d42a 100644 --- a/utils/techutils/techutils.go +++ b/utils/techutils/techutils.go @@ -647,8 +647,10 @@ func getTechInformationFromWorkingDir(tech Technology, workingDirectoryToIndicat techWorkingDirs[wd] = descriptorsAtWd } } - // Don't allow working directory if sub directory already exists as key for the same technology - techWorkingDirs = cleanSubDirectories(techWorkingDirs) + if tech == Maven || tech == Gradle || tech == Nuget || tech == Dotnet { + // Multi Module - Don't allow working directory if sub directory already exists as key for the same technology + techWorkingDirs = cleanSubDirectories(techWorkingDirs) + } return }