System.getProperty("file.separator") replaced by "/" to avoid build problems on windows (#75)
This commit is contained in:
parent
dc140145d6
commit
573cdf4fa6
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ object PekkoValidatePullRequest extends AutoPlugin {
|
||||||
|
|
||||||
loadedBuild.value.allProjectRefs.collect {
|
loadedBuild.value.allProjectRefs.collect {
|
||||||
case (_, project) if !ignoredProjects.contains(project.id) =>
|
case (_, project) if !ignoredProjects.contains(project.id) =>
|
||||||
val directory = project.base.getPath.split(System.getProperty("file.separator")).last
|
val directory = project.base.getPath.split("/").last
|
||||||
PathGlobFilter(s"$directory/**")
|
PathGlobFilter(s"$directory/**")
|
||||||
}.fold(new FileFilter { // TODO: Replace with FileFilter.nothing when https://github.com/sbt/io/pull/340 gets released
|
}.fold(new FileFilter { // TODO: Replace with FileFilter.nothing when https://github.com/sbt/io/pull/340 gets released
|
||||||
override def accept(pathname: File): Boolean = false
|
override def accept(pathname: File): Boolean = false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue