Skip to content

Commit 41ba556

Browse files
committed
fix: filter all variants and exclude ALL entry
1 parent 187a8ec commit 41ba556

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jwa-service/src/main/kotlin/pl/jwizard/jwa/service/ContributorServiceBean.kt

+3-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ class ContributorServiceBean(
5050
/**
5151
* A list of variants for the repositories based on configuration.
5252
*/
53-
private val variants = VcsRepository.entries.map { environment.getProperty<String>(it.property) }
53+
private val variants = VcsRepository.entries
54+
.filter { it != VcsRepository.ALL }
55+
.map { environment.getProperty<String>(it.property) }
5456

5557
/**
5658
* The default variant value for contributors, indicating all repositories.

0 commit comments

Comments
 (0)