Skip to content

Commit

Permalink
[java] Fixing project root detection in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Nov 23, 2018
1 parent 5bd9f79 commit 3acca79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class InProject {
public static Path locate(String path) {
Path actualPath = Paths.get(path);
if (Files.exists(actualPath)) {
return actualPath;
return actualPath.toAbsolutePath();
}

// Find the rakefile first
Expand Down

0 comments on commit 3acca79

Please sign in to comment.