Skip to content

Commit

Permalink
use absolute and normalized paths - fixes #7
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasgeiger committed Oct 6, 2015
1 parent 7cc8665 commit d70ed92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static void main(String[] args) {
// Check whether path exists
Path path = Paths.get(params.getPath());
if (Files.exists(path)) {

path = path.toAbsolutePath().normalize();
try {
if (Files.isDirectory(path)) {
List<ValidationResult> results = inspector
Expand Down

0 comments on commit d70ed92

Please sign in to comment.