-
Notifications
You must be signed in to change notification settings - Fork 123
Use spaces option if boolean is provided #98
Use spaces option if boolean is provided #98
Conversation
I might be missing something...but the sentence provided above and the pr logic are incorrect. Thanks for taking the time to review the code and submit a PR! |
Hey @yowainwright, you're right! I goofed on the ternary syntax 🤦♂️ As of now, if Let me know if you'd like me to re-submit the PR with the updated code. |
The code that is there is tested and appears to be working as expected. If you would like to take the perceived issue to code editing tool, here's a codepen with |
@yowainwright yep! So there, it looks like it's truncating within the word whereas the desired behavior by setting If you check out this codepen with the applied fix, you can see that switching between |
@yowainwright Yep! That's because there's nothing in the code to |
@mattsacks darn it! Thank you for taking the time to continually explain this issue. You are 100% right! This issue was introduced a while ago too. 😩 Do you still want to provide the pr/fix? |
@yowainwright I’d love to! By re-opening this PR, it looks like it got my update for the proper ternary syntax. Is there anything else you need before this can be merged? |
@mattsacks if you'd like to provide a patch version bump in Other wise, this is prefect. Thanks again! ...And sorry it took, me a bit see the bug. |
@yowainwright more than happy to, I’ll get that up for you in just a bit. And no prob! I’m glad we’re able to get this fixed 🙏 |
@yowainwright all set! |
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.
🚢
When setting the option
spaces
tofalse
, it would be ignored due to the default beingtrue
.This PR checks to see if a boolean option is provided for spaces and uses that before defaulting to
true
.