Skip to content

Commit 97f1612

Browse files
author
Christian Weiske
committed
Resolve relative schema path to cwd(), not json file
1 parent eac0fce commit 97f1612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/validate-json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ if (count($arArgs) == 1) {
122122
$pathSchema = null;
123123
} else {
124124
$pathData = $arArgs[0];
125-
$pathSchema = $arArgs[1];
125+
$pathSchema = getUrlFromPath($arArgs[1]);
126126
}
127127

128128
$urlData = getUrlFromPath($pathData);

0 commit comments

Comments
 (0)