Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add guard for undefined objects in addModifier #1667
After updating to v20.2.1, we started seeing a handful of errors about
@ljharb Totally agreed about the test, but I wasn't sure how this could happen so I wasn't sure how to write the test. Reading over the code again though, I think I see what I got confused about and I'll try to get a test in (I think I can also simplify my change).