mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] project-model-updater: improve repo community handling
^KTIJ-35777 GitOrigin-RevId: 2b05d893448708934873b16a65e2c387e18211bb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6c124d1f28
commit
bfa763f07c
+2
-1
@@ -67,7 +67,8 @@ fun main(args: Array<String>) {
|
||||
}
|
||||
|
||||
val monorepoRoot = communityRoot.parent.takeIf {
|
||||
it.resolve(".idea").isDirectory()
|
||||
// The community name check is required since the community might be placed directly inside another repo (e.g., kotlin)
|
||||
it.resolve(".idea").isDirectory() && it.resolve("community").isDirectory()
|
||||
}
|
||||
|
||||
val resolverSettings = readJpsResolverSettings(communityRoot, monorepoRoot)
|
||||
|
||||
Reference in New Issue
Block a user