From b00172c47f82d92cc83004560268c51b41d44ddc Mon Sep 17 00:00:00 2001 From: sb-rohitdesai Date: Tue, 4 Jun 2024 18:07:47 +0530 Subject: [PATCH] removed lint-space issues --- lib/dereference.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dereference.js b/lib/dereference.js index 529029a8..db84d7eb 100644 --- a/lib/dereference.js +++ b/lib/dereference.js @@ -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); @@ -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( @@ -112,7 +112,7 @@ async function crawl ( if (obj[key] !== dereferenced.value) { obj[key] = dereferenced.value; } - } + } else { circular = foundCircularReference(keyPath, $refs, options); }