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

docs: fix syntax and indent in handleCors example #958

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chadxz
Copy link

@chadxz chadxz commented Jan 19, 2025

The handleCors example had a stray paren and the indentation made the code difficult to read and understand.

Resolves #957.

The handleCors example had a stray paren and the indentation made the
code difficult to read and understand.

Resolves unjs#957.
@chadxz chadxz requested a review from pi0 as a code owner January 19, 2025 15:42
Copy link

codecov bot commented Jan 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.99%. Comparing base (a58d7c9) to head (e313ac8).
Report is 211 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #958      +/-   ##
==========================================
+ Coverage   77.83%   78.99%   +1.15%     
==========================================
  Files          47       43       -4     
  Lines        4286     3237    -1049     
  Branches      611      795     +184     
==========================================
- Hits         3336     2557     -779     
+ Misses        933      677     -256     
+ Partials       17        3      -14     

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

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.

Docs for handleCors have invalid syntax and incorrect indentation
1 participant