Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix version number parsing in cannotReadPropertyOfUndefined__DEPRECAT…
…ED (#4314) Summary: `.match` is a super confusing API. The first value is the full match. To get the parenthesized full match, you need to look at the second value. Originally added here: f5c48cd (D45432790) Pull Request resolved: #4314 Test Plan: Look at test run in Node version 14 GitHub CI and see that there are nolonger any instance of errors that look like this: ![Screenshot 2023-05-11 at 12 44 11 PM](https://github.com/facebook/relay/assets/162735/fb35dd55-4922-404d-a0b0-d08b78800618) (Note that there are other errors in GitHub CI right now) Reviewed By: yungsters Differential Revision: D45789179 Pulled By: captbaritone fbshipit-source-id: 9ffc02b1ea22381717beedd9762714fc4eb35b1c
- Loading branch information