Skip to content

Commit

Permalink
fix: yaml parser
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Sep 9, 2023
1 parent e3bff83 commit abf1ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/package/docs/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export default class Options {
let config;

try {
config = yaml.parse( await res.text() )[0];
config = yaml.parse( await res.text() );
}
catch ( e ) {
throw `Unable to parse: ${url.href}`;
Expand Down

0 comments on commit abf1ba5

Please sign in to comment.