Skip to content

Commit

Permalink
fix(coverage): Corrected typo in a variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav Ponomarev committed Sep 22, 2017
1 parent 4aa24c6 commit d959377
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ class ScoverageSensor(settings: Settings, pathResolver: PathResolver, fileSystem

val inputOption: Option[InputPath] = if (isFile) {
val p = fileSystem.predicates()
val pathPreducate = if (new File(path).isAbsolute) p.hasAbsolutePath(path) else p.hasRelativePath(path)
val pathPredicate = if (new File(path).isAbsolute) p.hasAbsolutePath(path) else p.hasRelativePath(path)
Option(fileSystem.inputFile(p.and(
pathPreducate,
pathPredicate,
p.hasLanguage(Scala.key),
p.hasType(InputFile.Type.MAIN))))
} else {
Expand Down

0 comments on commit d959377

Please sign in to comment.