use https for bash links

Summary:
Never a good idea to pipe a bash file from `http` into `sudo`. Using `https` mitigates some of this risk.
Closes https://github.com/facebook/react-native/pull/12090

Differential Revision: D4474065

fbshipit-source-id: 99d29ae112ae0edef5bd662d439b5da673c5c79f
This commit is contained in:
David Brownman 2017-01-26 23:37:22 -08:00 committed by Facebook Github Bot
parent 2cfb3f1f8f
commit 7cebe26681
1 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ Run the following command in a Terminal:
npm install -g react-native-cli
```
> If you get an error like `Cannot find module 'npmlog'`, try installing npm directly: `curl -0 -L http://npmjs.org/install.sh | sudo sh`.
> If you get an error like `Cannot find module 'npmlog'`, try installing npm directly: `curl -0 -L https://npmjs.org/install.sh | sudo sh`.
<block class="windows linux android" />
@ -138,7 +138,7 @@ Run the following command in a Terminal:
npm install -g react-native-cli
```
> If you get an error like `Cannot find module 'npmlog'`, try installing npm directly: `curl -0 -L http://npmjs.org/install.sh | sudo sh`.
> If you get an error like `Cannot find module 'npmlog'`, try installing npm directly: `curl -0 -L https://npmjs.org/install.sh | sudo sh`.
<block class="mac ios" />