Skip to content

Commit 85445bb

Browse files
authored
Merge pull request #274 from maiflai/args
fix parsing of exclusion options (introduced in 2872e73)
2 parents 9bb6198 + ddf856d commit 85445bb

File tree

1 file changed

+3
-3
lines changed
  • scalac-scoverage-plugin/src/main/scala/scoverage

1 file changed

+3
-3
lines changed

scalac-scoverage-plugin/src/main/scala/scoverage/plugin.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ class ScoveragePlugin(val global: Global) extends Plugin {
2626

2727
for (opt <- opts) {
2828
if (opt.startsWith("excludedPackages:")) {
29-
options.excludedPackages = parseExclusionEntry("excludedPackages", opt)
29+
options.excludedPackages = parseExclusionEntry("excludedPackages:", opt)
3030
} else if (opt.startsWith("excludedFiles:")) {
31-
options.excludedFiles = parseExclusionEntry("excludedFiles", opt)
31+
options.excludedFiles = parseExclusionEntry("excludedFiles:", opt)
3232
} else if (opt.startsWith("excludedSymbols:")) {
33-
options.excludedSymbols = parseExclusionEntry("excludedSymbols", opt)
33+
options.excludedSymbols = parseExclusionEntry("excludedSymbols:", opt)
3434
} else if (opt.startsWith("dataDir:")) {
3535
options.dataDir = opt.substring("dataDir:".length)
3636
} else if (opt.startsWith("extraAfterPhase:") || opt.startsWith("extraBeforePhase:")) {

0 commit comments

Comments
 (0)