File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -85,8 +85,14 @@ class ScoverageSbtPlugin extends sbt.Plugin {
85
85
s " -Xplugin: ${classpath.getAbsolutePath}" ,
86
86
s " -P:scoverage:dataDir: ${crossTarget.value.getAbsolutePath}/scoverage-data "
87
87
) ++
88
- Option (excludedPackages.value).map(v => s " -P:scoverage:excludedPackages: $v" ) ++
89
- Option (scoverageExcludedFiles.value).map(v => s " -P:scoverage:excludedFiles: $v" )
88
+ Option (excludedPackages.value.trim).map{
89
+ case " " => " "
90
+ case v => s " -P:scoverage:excludedPackages: $v"
91
+ } ++
92
+ Option (scoverageExcludedFiles.value.trim).map{
93
+ case " " => " "
94
+ case v => s " -P:scoverage:excludedFiles: $v"
95
+ }
90
96
}
91
97
},
92
98
@@ -436,4 +442,4 @@ class ScoverageSbtPlugin extends sbt.Plugin {
436
442
// // test in ScoverageCompile <<= (test in ScoverageTest)
437
443
// // )
438
444
//
439
- // }
445
+ // }
You can’t perform that action at this time.
0 commit comments