Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Commit 95d994b

Browse files
committed
Fixes #55: Fix validation demo logging
1 parent 49f1e7e commit 95d994b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/js/raml10-string-validation.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async function main () {
4444
const report = await wap.raml10.validate(model)
4545

4646
// Log validation results
47-
console.log('Validation errors:\n', report.results)
47+
console.log('Validation errors:', report.toString())
4848
}
4949

5050
main()

0 commit comments

Comments
 (0)