Skip to content

Commit 8bd596e

Browse files
rayshadeintellij-monorepo-bot
authored andcommitted
Maybe if we don't reset the root, eventually it will pick the subfolders up
(cherry picked from commit aae201038e8d2e677f5c947aa66e81198bc50899) IJ-MR-176799 GitOrigin-RevId: fc1309f6f0b16fff26d4caee0aebafafc8a7b8ef
1 parent d2a1613 commit 8bd596e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

platform/build-scripts/src/org/jetbrains/intellij/build/impl/BuiltInHelpPlugin.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ private suspend fun buildResourcesForHelpPlugin(resourceRoot: Path, classPath: L
128128
}
129129

130130
writeNewZipWithoutIndex(file = assetJar, compress = true) { zipCreator ->
131+
val archiver = ZipArchiver()
132+
archiver.setRootDir(resourceRoot)
133+
131134
supportedLanguages.forEach { (lang, descriptor) ->
132135
val rootDir = resourceRoot.resolve(descriptor.resPath)
133136
if (rootDir.exists()) {
134-
val archiver = ZipArchiver()
135-
archiver.setRootDir(rootDir)
136137
Span.current().addEvent("adding \"${lang}\" to the resulting ZIP.")
137-
138138
descriptor.resList.forEach { resDir ->
139139
archiveDir(
140140
startDir = rootDir,

0 commit comments

Comments
 (0)