(context, location)
| 95 | } |
| 96 | |
| 97 | function getSafeSchemaRef (context, location) { |
| 98 | let schemaRef = location.getSchemaRef() || '' |
| 99 | if (schemaRef.startsWith(context.rootSchemaId)) { |
| 100 | schemaRef = schemaRef.replace(context.rootSchemaId, '') || '#' |
| 101 | } |
| 102 | return schemaRef |
| 103 | } |
| 104 | |
| 105 | function build (schema, options) { |
| 106 | isValidSchema(schema) |
no test coverage detected
searching dependent graphs…