Navigation Menu

Skip to content

Commit

Permalink
use https for bash links
Browse files Browse the repository at this point in the history
Summary:
Never a good idea to pipe a bash file from `http` into `sudo`. Using `https` mitigates some of this risk.
Closes facebook#12090

Differential Revision: D4474065

fbshipit-source-id: 99d29ae112ae0edef5bd662d439b5da673c5c79f
  • Loading branch information
xavdid authored and nicktate committed Feb 9, 2017
1 parent 35b0a45 commit 4ab018c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/GettingStarted.md
Expand Up @@ -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" />

Expand All @@ -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" />

Expand Down

0 comments on commit 4ab018c

Please sign in to comment.