We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd46347 commit 1fc66c4Copy full SHA for 1fc66c4
lib/output.js
@@ -1,4 +1,4 @@
1
-import { allNodes } from "./instance.js";
+import * as Instance from "./instance.js";
2
3
4
const outputFormats = {};
@@ -23,13 +23,13 @@ outputFormats.BASIC = (instance) => {
23
if (!instance.valid) {
24
output.errors = [];
25
26
- for (const child of allNodes(instance)) {
+ for (const child of Instance.allNodes(instance)) {
27
for (const [absoluteKeywordLocation, keyword] of Object.entries(child.errors).reverse()) {
28
if (!child.valid) {
29
output.errors.unshift({
30
keyword,
31
absoluteKeywordLocation,
32
- instanceLocation: child.uri(),
+ instanceLocation: Instance.uri(child),
33
valid: child.valid
34
});
35
}
0 commit comments