react-native/local-cli/core
Rob Hogan 59276468f2 Fix CLI Error when there is no windows project
Summary:
Running `master` (at 260d68bf8b) 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 445182c707).

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
2016-12-22 10:58:36 -08:00
..
__fixtures__ Update React Native minimum OS version to iOS8 2016-09-01 19:43:47 -07:00
__tests__ Update to Jest 15 2016-09-02 05:58:34 -07:00
config Fix CLI Error when there is no windows project 2016-12-22 10:58:36 -08:00
findPlugins.js Fix lint in local-cli 2016-11-14 11:13:42 -08:00
getCommands.js Fix lint in local-cli 2016-11-14 11:13:42 -08:00
makeCommand.js Fix lint in local-cli 2016-11-14 11:13:42 -08:00