Skip to content

Commit

Permalink
Merge pull request #62 from empress/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
mansona authored Sep 25, 2021
2 parents c5f5fe6 + 57b0e3e commit 391ed96
Show file tree
Hide file tree
Showing 3 changed files with 4,908 additions and 3,847 deletions.
2 changes: 1 addition & 1 deletion lib/table-of-contents.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class TableOfContentsExtractor extends PersistentFilter {
let pages;

if (relativePath.endsWith('pages.yml')) {
pages = yaml.safeLoad(content);
pages = yaml.load(content);
} else if (relativePath.endsWith('pages.json')) {
pages = JSON.parse(content);
}
Expand Down
Loading

0 comments on commit 391ed96

Please sign in to comment.