Skip to content

Commit

Permalink
Merge branch 'develop' into fix-multi-biome-03
Browse files Browse the repository at this point in the history
  • Loading branch information
samarth30 authored Feb 3, 2025
2 parents cb3b147 + a00ab78 commit 23064ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/parsing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export function parseJSONObjectFromText(
} catch (e) {
console.error("Error parsing JSON:", e);
console.error("Text is not JSON", text);
return extractAttributes(parsingText);
return extractAttributes(text);
}
} else {
const objectPattern = /{[\s\S]*?}/;
Expand All @@ -165,7 +165,7 @@ export function parseJSONObjectFromText(
} catch (e) {
console.error("Error parsing JSON:", e);
console.error("Text is not JSON", text);
return extractAttributes(parsingText);
return extractAttributes(text);
}
}
}
Expand Down

0 comments on commit 23064ef

Please sign in to comment.