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: record attribute correctly #21

Merged
merged 2 commits into from
Apr 4, 2024
Merged

fix: record attribute correctly #21

merged 2 commits into from
Apr 4, 2024

Conversation

zzzgydi
Copy link
Contributor

@zzzgydi zzzgydi commented Apr 1, 2024

Same issue as #19.

But here I make a new func logAttrs to fix it.

Copy link

codecov bot commented Apr 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (d05e02a) to head (9678eb2).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #21   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          152       168   +16     
=========================================
+ Hits           152       168   +16     

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

@orandin
Copy link
Owner

orandin commented Apr 3, 2024

Thank you for your contribution @zzzgydi!

I'm a little annoyed for the code duplication, but your solution looks good.
Could you improve the test coverage, please?

@orandin orandin added the bug Something isn't working label Apr 3, 2024
@zzzgydi
Copy link
Contributor Author

zzzgydi commented Apr 4, 2024

Hi, thanks for your feedback. I have improved the test coverage and looking forward to your further review.

@orandin orandin merged commit d6bf4b0 into orandin:master Apr 4, 2024
3 checks passed
@orandin
Copy link
Owner

orandin commented Apr 4, 2024

Thank you @zzzgydi! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants