mirror of
https://github.com/ysoftdevs/odc-analyzer.git
synced 2026-01-15 16:23:52 +01:00
Blacklist some directories as framework names
This commit is contained in:
@@ -260,7 +260,7 @@ class OdcService @Inject() (odcConfig: OdcConfig, odcDbConnectionConfig: OdcDbCo
|
||||
}
|
||||
if (Files.exists(libDir)) {
|
||||
val profiles = Files.list(libDir).iterator().asScala.toIndexedSeq.map(_.getFileName.toString)
|
||||
for (targetFramework <- profiles) {
|
||||
for (targetFramework <- profiles.toSet -- Set("tools")) { // TODO: handle list of frameworks better
|
||||
val csprojFile = dir.resolve("ad-hoc-project-" + targetFramework + ".csproj")
|
||||
val tfDir = dir.resolve("framework-" + targetFramework)
|
||||
Files.createDirectory(tfDir)
|
||||
|
||||
Reference in New Issue
Block a user