Skip to content

Commit

Permalink
refactor(bazel): Map directly to a set
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Aug 10, 2024
1 parent 7d5deb6 commit c2ff612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/package-managers/bazel/src/main/kotlin/Bazel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ class Bazel(
// cc_test, but according to experiments, it is on.
// See https://bazel.build/reference/be/c-cpp#cc_binary.linkstatic
linkage = PackageLinkage.STATIC,
dependencies = dependencies.map { it.toPackageReference() }.toSet()
dependencies = dependencies.mapTo(mutableSetOf()) { it.toPackageReference() }
)
}

Expand Down

0 comments on commit c2ff612

Please sign in to comment.