Skip to content

Commit

Permalink
refactor(bazel): Avoid some toSet() calls
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Viernau <frank_viernau@epam.com>
  • Loading branch information
fviernau committed Jul 1, 2024
1 parent 55ee953 commit b6b7686
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/package-managers/bazel/src/main/kotlin/Bazel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ class Bazel(
return setOf(
Scope(
name = "main",
dependencies = mainDeps.map { it.toPackageReference() }.toSet()
dependencies = mainDeps.mapTo(mutableSetOf()) { it.toPackageReference() }
),
Scope(
name = "dev",
dependencies = devDeps.map { it.toPackageReference() }.toSet()
dependencies = devDeps.mapTo(mutableSetOf()) { it.toPackageReference() }
)
)
}
Expand Down

0 comments on commit b6b7686

Please sign in to comment.