Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make parse options optional #67

Merged
merged 1 commit into from
May 6, 2023
Merged

fix: make parse options optional #67

merged 1 commit into from
May 6, 2023

Conversation

Pcrab
Copy link
Contributor

@Pcrab Pcrab commented May 4, 2023

The only usage of options is in line 67 yaml.load(), whose options can be an optional argument.

Make options optional can allow calling parse function with parse(str), instead of having to add an empty object parse(str, {}).

@coveralls
Copy link

Coverage Status

Coverage: 93.514%. Remained the same when pulling 7a1d383 on Pcrab:master into 511ba4f on hexojs:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants