Skip to content

Commit

Permalink
chore: bumped yaml package
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Jan 14, 2025
1 parent 1227f16 commit fbccd44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"hono": "^4.6.12",
"openai": "^4.70.2",
"typebox-validators": "0.3.5",
"yaml": "2.4.5"
"yaml": "^2.7.0"
},
"devDependencies": {
"@cloudflare/workers-types": "4.20240117.0",
Expand Down
3 changes: 2 additions & 1 deletion src/github/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,9 @@ export function parseYaml(data: null | string) {
console.log("Will attempt to parse YAML data:", data);
try {
if (data) {
console.log("Before parsing", data);
const parsedData = YAML.parse(data);
console.log("Parsed YAML data");
console.log("Parsed YAML data", parsedData);
return { yaml: parsedData ?? null, errors: null };
}
} catch (error) {
Expand Down

0 comments on commit fbccd44

Please sign in to comment.