-
Notifications
You must be signed in to change notification settings - Fork 33
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 check for root node in the event it does not exist #84
Conversation
I just had a quick look at this PR, and just to make sure we are both on the same page, the fixtures you created This is so that sub-directory |
I just checked out the 7920c02 commit and it works as expected without error now 👍 i.e. (I'd also deleted my |
Hey @ntwb! Great question. Let me know if this explanation doesn't make sense. Scenario 1: A package.json exists in the Scenario 2: A package.json exists in the Scenario 3: A package.json exists in the Scenario 4: A package.json exists in the |
Awesome! I'm so happy it worked for you. I just published v3.0.1. Thank you so much for your help identifying and resolving this issue! 🥇 |
Thanks @tclindner, and the above makes perfect sense and I've already got a use case in mind for nested configurations 👍 |
Cool! I would love to hear about what you implement. We could use them as examples in the docs, if you want. 🤓 |
Fixes #79
** Description of change **
Resolves an issue reported by @ntwb in #79. The conditional logic that checks the value of the root property flag didn't properly account for files that didn't have a root property set.
** Checklist **