Skip to content

Commit 4b63ea8

Browse files
committed
1 parent 01b5d49 commit 4b63ea8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/hydra/parseHydraDocumentation.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -310,10 +310,10 @@ export default function parseHydraDocumentation(
310310
? range // Will be updated in a subsequent pass
311311
: null,
312312
embedded:
313-
"http://www.w3.org/ns/hydra/core#Link" !==
314-
get(supportedProperty, '["@type"][0]')
315-
? (range as unknown as Resource) // Will be updated in a subsequent pass
316-
: null,
313+
get(supportedProperty, '["@type"][0]') ===
314+
"http://www.w3.org/ns/hydra/core#Link"
315+
? null
316+
: (range as unknown as Resource), // Will be updated in a subsequent pass
317317
required: get(
318318
supportedProperties,
319319
'["http://www.w3.org/ns/hydra/core#required"][0]["@value"]',

0 commit comments

Comments
 (0)