Skip to content

Commit

Permalink
Merge pull request #410 from andremacola/fix/ldjson/null
Browse files Browse the repository at this point in the history
fix: adjustment of poorly formatted ldjson error
  • Loading branch information
ndaidong authored Oct 26, 2024
2 parents 6355d23 + ad42f58 commit 20f34a8
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 20f34a8

Please sign in to comment.