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] #has helper in case of integer values working fixed! closes - #16262 #16764

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

deepam-kapur
Copy link
Contributor

closes - #16262
Why - _isEmpty which was earlier using only checks object, array or string not integer so I've added an extra check if its integer handle it differently

Got some code for us? Awesome 🎊!

Please include a description of your change & check your PR against this list, thanks!

  • There's a clear use-case for this code change, explained below
  • Commit message has a short title & references relevant issues
  • The build will pass (run yarn test:all and yarn lint)

deepam-kapur and others added 2 commits May 10, 2023 00:31
closes - TryGhost#16262
Why - _isEmpty which was earlier using only checks object, array or string not integer so I've added an extra check if its integer handle it differently
@codecov
Copy link

codecov bot commented May 12, 2023

Codecov Report

Patch coverage has no change and project coverage change: +12.43 🎉

Comparison is base (c5dc5a2) 72.26% compared to head (111455c) 84.69%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main   #16764       +/-   ##
===========================================
+ Coverage   72.26%   84.69%   +12.43%     
===========================================
  Files        1785      692     -1093     
  Lines      113257    53522    -59735     
  Branches    16928     6859    -10069     
===========================================
- Hits        81847    45333    -36514     
+ Misses      30306     8118    -22188     
+ Partials     1104       71     -1033     
Flag Coverage Δ
e2e-tests 84.69% <ø> (ø)
unit-tests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1290 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@deepam-kapur
Copy link
Contributor Author

@daniellockyer have you got chance to review this?

@deepam-kapur
Copy link
Contributor Author

@daniellockyer Any update on this one? Can we close this?

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.

None yet

1 participant