Skip to content

Commit

Permalink
brace
Browse files Browse the repository at this point in the history
  • Loading branch information
sbuisson committed Apr 2, 2018
1 parent eb4586e commit 7cbd2d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pitest-maven/src/main/java/org/pitest/maven/ScmTestMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,9 @@ protected Optional<CombinedStatistics> analyse() throws MojoExecutionException {

private File findScmRootDir() {
MavenProject rootProject = this.project;
while (rootProject.hasParent() && rootProject.getParent().getBasedir() != null)
while (rootProject.hasParent() && rootProject.getParent().getBasedir() != null) {
rootProject = rootProject.getParent();
}
return rootProject.getBasedir();
}

Expand Down

0 comments on commit 7cbd2d9

Please sign in to comment.