Skip to content

Commit 483164c

Browse files
committed
[bugfix] if the path is not absolute it's already relative
1 parent 9fe7898 commit 483164c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/evolvedbinary/bblValidator/service/SchemaService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private Path resolveSchemaPath() {
7171
} else {
7272
// Relative to current working
7373
Path applicationDir = Paths.get(System.getProperty("user.dir"));
74-
return schemaPath.relativize(applicationDir);
74+
return applicationDir.resolve(schemaPath);
7575
}
7676
}
7777

0 commit comments

Comments
 (0)