Skip to content

Commit

Permalink
removed lint-space issues
Browse files Browse the repository at this point in the history
  • Loading branch information
SB-rohitdesai committed Jun 4, 2024
1 parent 36d8a2d commit b00172c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/dereference.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async function crawl (
);
result.circular = dereferenced.circular;
result.value = dereferenced.value;
}
}
else {
for (let key of Object.keys(obj)) {
let keyPath = Pointer.join(path, key);
Expand All @@ -95,7 +95,7 @@ async function crawl (
if (obj[key] !== dereferenced.value) {
obj[key] = dereferenced.value;
}
}
}
else {
if (parents.indexOf(value) === -1) {
dereferenced = await crawl(
Expand All @@ -112,7 +112,7 @@ async function crawl (
if (obj[key] !== dereferenced.value) {
obj[key] = dereferenced.value;
}
}
}
else {
circular = foundCircularReference(keyPath, $refs, options);
}
Expand Down

0 comments on commit b00172c

Please sign in to comment.