mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
IJPL-149476 fix 'com.intellij.openapi.application.ConfigImportHelperTest#skip bundled plugins'
GitOrigin-RevId: 71b3ad7faf4803f0c010adcfd0b01717fca8fa56
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1ef047a4b5
commit
a267b69dea
@@ -571,8 +571,12 @@ internal fun CoroutineScope.loadPluginDescriptorsImpl(
|
||||
result = result,
|
||||
))
|
||||
result.addAll(loadDescriptorsFromDir(dir = customPluginDir, context = context, isBundled = false, pool = zipFilePool))
|
||||
bundledPluginDir?.let {
|
||||
result.addAll(loadDescriptorsFromDir(dir = it, context = context, isBundled = true, pool = zipFilePool))
|
||||
}
|
||||
else {
|
||||
return result
|
||||
}
|
||||
|
||||
val effectiveBundledPluginDir = bundledPluginDir ?: Paths.get(PathManager.getPreInstalledPluginsPath())
|
||||
val data = try {
|
||||
// use only if the format is supported (first byte it is a version)
|
||||
@@ -624,7 +628,6 @@ internal fun CoroutineScope.loadPluginDescriptorsImpl(
|
||||
result = result,
|
||||
)
|
||||
}
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user