Skip to content

Commit a6a3539

Browse files
Update utils/extract_frontmatter_from_tutorial.js
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 233d4d0 commit a6a3539

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils/extract_frontmatter_from_tutorial.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function extractFrontmatterFromContent(content) {
1919
return null;
2020
}
2121

22-
return yaml.load(match[1]);
22+
return yaml.safeLoad(match[1]);
2323
}
2424

2525
/**

0 commit comments

Comments
 (0)