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

refactor(yaml): add default options object #5249

Merged
merged 3 commits into from
Jul 2, 2024

Conversation

timreichen
Copy link
Contributor

  • replaces optional options with default object

@timreichen timreichen requested a review from kt3k as a code owner July 2, 2024 09:14
@github-actions github-actions bot added the yaml label Jul 2, 2024
Copy link

codecov bot commented Jul 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.47%. Comparing base (df26c6d) to head (241c9d4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5249   +/-   ##
=======================================
  Coverage   95.46%   95.47%           
=======================================
  Files         461      461           
  Lines       38003    38002    -1     
  Branches     5536     5535    -1     
=======================================
  Hits        36281    36281           
+ Misses       1680     1679    -1     
  Partials       42       42           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@iuioiua
Copy link
Contributor

iuioiua commented Jul 2, 2024

Can you please elaborate on why this is needed?

@timreichen
Copy link
Contributor Author

Can you please elaborate on why this is needed?

It replaces options = options || {};.

@iuioiua iuioiua merged commit 0629b71 into denoland:main Jul 2, 2024
15 checks passed
@timreichen timreichen deleted the yaml-refactor-loader-options branch July 2, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants