We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efc7a42 commit 7a9d718Copy full SHA for 7a9d718
affectedmoduledetector/src/main/kotlin/com/dropbox/affectedmoduledetector/AffectedModuleConfiguration.kt
@@ -1,5 +1,6 @@
1
package com.dropbox.affectedmoduledetector
2
3
+import com.dropbox.affectedmoduledetector.util.toOsSpecificPath
4
import java.io.File
5
6
class AffectedModuleConfiguration {
@@ -66,7 +67,8 @@ class AffectedModuleConfiguration {
66
67
requireNotNull(baseDir) {
68
"baseDir must be set to use pathsAffectingAllModules"
69
}
- field = value
70
+ // Protect against users specifying the wrong path separator for their OS.
71
+ field = value.map { it.toOsSpecificPath() }.toSet()
72
73
get() {
74
field.forEach { path ->
0 commit comments