Skip to content

Commit

Permalink
Merge pull request #305 from thomschke/fix-validation-report
Browse files Browse the repository at this point in the history
fix validation report
  • Loading branch information
sroertgen authored May 23, 2024
2 parents bfa6899 + 300cfd4 commit ea7b2de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async function validate(shapePath, filePath, doc) {
result.message,
"\n",
"Path: ",
result.path.value,
result.path?.value,
"\n",
"Node, where the error occured: ",
result.focusNode.value,
Expand All @@ -78,7 +78,7 @@ async function validate(shapePath, filePath, doc) {
result.message,
"\n",
"Path: ",
result.path.value,
result.path?.value,
"\n",
"Node, where the error occured: ",
result.focusNode.value,
Expand Down

0 comments on commit ea7b2de

Please sign in to comment.