Skip to content

Commit 4af1f56

Browse files
VShingalaDhwaneet Bhatt
andauthored
Update error message for circular ref non-schema case.
Co-authored-by: Dhwaneet Bhatt <dhwaneet.bhatt@postman.com>
1 parent 5025b21 commit 4af1f56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/schemaUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2283,7 +2283,7 @@ module.exports = {
22832283
}
22842284

22852285
if (seenRef[$ref]) {
2286-
return { value: `<Error: "${$ref}" contains circular references in it.` };
2286+
return { value: `Error: "${$ref}" contains circular references in it.` };
22872287
}
22882288

22892289
savedSchema = $ref.split('/').slice(1).map((elem) => {

0 commit comments

Comments
 (0)