-
-
Notifications
You must be signed in to change notification settings - Fork 42
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: Pick the meta object from actual resource rather from cached res… #783
Conversation
…ource if it is different
Please can you fix the linter errors and warnings in the PR. You can run You can ignore the complexity warning flagged by Codeclimate |
Sure, will resolve these and update you soon. |
85c46c2
to
913531d
Compare
@wopian I have addressed your review comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please run yarn lint --fix
to resolve the lining errors and warnings from ESLint
const objKeys1 = Object.keys(object1); | ||
const objKeys2 = Object.keys(object2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function should check both values are objects before contining to access Object.keys
on them.
Tests are failing due to undefined
and null
values being passed in through object1
and/or object2
.
@wopian Your review comments have been addressed, please check now. Thanks |
Code Climate has analyzed commit a66f183 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (100% is the threshold). This pull request will bring the total coverage in the repository to 100.0% (0.0% change). View more on Code Climate. |
Thank you. I updated the tests to include coverage of the uncovered branches and added the sample you gave in the issue as a test case in |
Released in 10.0.3 (2022-10-30) |
Thank you so much @wopian . |
…ource if it is different