Skip to content

Commit f21df03

Browse files
committed
Fix js-yaml method
1 parent c49689b commit f21df03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/docgen/generate-docs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ let tocText = '';
133133
* @param {string} homeRaw
134134
*/
135135
function generateTempHomeMdFile(tocRaw, homeRaw) {
136-
const { toc } = yaml.safeLoad(tocRaw);
136+
const { toc } = yaml.load(tocRaw);
137137
let tocPageLines = [homeRaw, '# API Reference'];
138138
toc.forEach(group => {
139139
tocPageLines.push(`\n## [${group.title}](${stripPath(group.path)}.html)`);

0 commit comments

Comments
 (0)