Skip to content

Commit

Permalink
fix: remove extra semi colons
Browse files Browse the repository at this point in the history
  • Loading branch information
SB-rohitdesai committed Jun 13, 2024
1 parent ba3842d commit b0cc5f1
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 @@ -54,7 +54,7 @@ async function crawl (
let dereferenced;
let result = {
value: obj,
circular: false,
circular: false
};

if (obj && typeof obj === "object" && !ArrayBuffer.isView(obj)) {
Expand Down Expand Up @@ -225,7 +225,7 @@ async function dereference$Ref (

const dereferencedObject = {
circular,
value: dereferencedValue,
value: dereferencedValue
};

// only cache if no extra properties than $ref
Expand All @@ -251,4 +251,4 @@ function foundCircularReference (keyPath, $refs, options) {
throw ono.reference(`Circular $ref pointer found at ${keyPath}`);
}
return true;
}
}

Check failure on line 254 in lib/dereference.js

View workflow job for this annotation

GitHub Actions / Node 18 on ubuntu-latest

Newline required at end of file but not found

Check failure on line 254 in lib/dereference.js

View workflow job for this annotation

GitHub Actions / Node 20 on ubuntu-latest

Newline required at end of file but not found

Check failure on line 254 in lib/dereference.js

View workflow job for this annotation

GitHub Actions / Node 18 on macos-latest

Newline required at end of file but not found

0 comments on commit b0cc5f1

Please sign in to comment.