Skip to content

Commit eefb025

Browse files
committed
DA-1354 fix: yaml.safeLoad is deprecated
1 parent a6a3539 commit eefb025

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.safeLoad(match[1]);
22+
return yaml.load(match[1]);
2323
}
2424

2525
/**

0 commit comments

Comments
 (0)