Skip to content

Commit

Permalink
fix: adjustment of poorly formatted ldjson error
Browse files Browse the repository at this point in the history
  • Loading branch information
andremacola committed Oct 25, 2024
1 parent 6355d23 commit ad42f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/extractLdSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const parseJson = (text) => {
try {
return JSON.parse(text)
} catch {
return null
return {}
}
}

Expand Down

0 comments on commit ad42f58

Please sign in to comment.