From 4ab018c8eac69e7b2d744a379160ae7950d914eb Mon Sep 17 00:00:00 2001 From: David Brownman Date: Thu, 26 Jan 2017 23:37:22 -0800 Subject: [PATCH] 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 --- docs/GettingStarted.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/GettingStarted.md b/docs/GettingStarted.md index d0032cb4573673..e6cff0b64b3ff3 100644 --- a/docs/GettingStarted.md +++ b/docs/GettingStarted.md @@ -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`. @@ -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`.