Skip to content

Commit 6210db3

Browse files
authored
fix website to use load instead of safeLoad (#22386)
1 parent e86daf9 commit 6210db3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const fs = require('fs');
22
const path = require('path');
3-
const parseYaml = require("js-yaml").safeLoad;
3+
const parseYaml = require("js-yaml").load;
44

55
const loadYaml = relativePath => parseYaml(fs.readFileSync(path.join(__dirname, relativePath), "utf8"));
66

0 commit comments

Comments
 (0)