mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
59276468f2
Summary: Running `master` (at https://github.com/facebook/react-native/commit/260d68bf8b39cf0fda71fd76490dd86a3373d8ea) I noticed `react-native link` fails when there is no windows project due to a bug in the code that fetches windows project configs (introduced https://github.com/facebook/react-native/commit/445182c7076593863bcf7dd191d2c4285d6c4b22). There's a guard to return early if `csSolution` (the relative path of the windows solution) is null but it needs to be a line earlier, because `path.join` errors when passed a non-string. Tested locally on a non-windows project, `react-native link` errored previously and now succeeds. Closes https://github.com/facebook/react-native/pull/11590 Differential Revision: D4362419 fbshipit-source-id: b3b9f6784d8b1d1a7c53abe0ee421b1dc6048571