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

bugfix: handling null #85

Merged

Conversation

lukasjhan
Copy link
Member

if (obj instanceof Object) is changed to if (typeof obj === 'object') in #80

if obj is null, the first statement is false, but second one is true
So I added the checking logic.

Signed-off-by: Lukas.J.Han <lukas.j.han@gmail.com>
@lukasjhan lukasjhan self-assigned this Feb 22, 2024
@lukasjhan lukasjhan added bug An issue with the system 🐛. and removed bug An issue with the system 🐛. labels Feb 22, 2024
Copy link

codecov bot commented Feb 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (853f093) 65.57% compared to head (ee0d35f) 65.57%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #85   +/-   ##
=======================================
  Coverage   65.57%   65.57%           
=======================================
  Files          33       33           
  Lines        2115     2115           
  Branches      234      234           
=======================================
  Hits         1387     1387           
  Misses        709      709           
  Partials       19       19           

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

@lukasjhan lukasjhan merged commit 2434d79 into openwallet-foundation-labs:main Feb 22, 2024
8 checks passed
cre8 pushed a commit to cre8/sd-jwt-js that referenced this pull request Mar 8, 2024
Signed-off-by: Lukas.J.Han <lukas.j.han@gmail.com>
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
cre8 pushed a commit that referenced this pull request Mar 8, 2024
Signed-off-by: Lukas.J.Han <lukas.j.han@gmail.com>
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
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.

2 participants