Use set to ensure that resource list is distinct, step 1

(cherry picked from commit 295f8ced5d72ba88526e4d1ff0acb62d9e245045)


(cherry picked from commit 245ad18c1fdf87c182f6e6beb45b9805662b0000)

IJ-MR-166587

GitOrigin-RevId: 05e5577e758d7eb19a7435071da16d370aa3f189
This commit is contained in:
Egor Malyshev
2025-05-14 14:52:34 +02:00
committed by intellij-monorepo-bot
parent a1b59f953b
commit 92497089c4

View File

@@ -40,9 +40,9 @@ class HelpSearch {
if (indexDir != null)
try {
val indexDirPath = indexDir.toAbsolutePath().toString()
resources.forEach { resource ->
val indexDirPath = indexDir.toAbsolutePath().toString()
ResourceUtil.getResourceAsStream(HelpSearch::class.java.classLoader,
"search",
resource).use { resourceStream ->