From b775f88636ddb98aa552cc13bd55486e7061577e Mon Sep 17 00:00:00 2001 From: Jeremi Stadler Date: Thu, 8 Dec 2016 10:22:00 -0800 Subject: [PATCH] Fix yarn command in git upgrade blog post Summary: The yarn global add needs to have global before add, it will otherwise just install in in the local project together with the global package. https://yarnpkg.com/en/docs/cli/global Closes https://github.com/facebook/react-native/pull/11364 Differential Revision: D4299909 Pulled By: ericnakagawa fbshipit-source-id: 7b3a7817d2b1105003b9d48d16cf64756bfa51d5 --- blog/2016-12-05-easier-upgrades.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/2016-12-05-easier-upgrades.md b/blog/2016-12-05-easier-upgrades.md index 1638f8803..65066f7ca 100644 --- a/blog/2016-12-05-easier-upgrades.md +++ b/blog/2016-12-05-easier-upgrades.md @@ -28,7 +28,7 @@ $ npm install -g react-native-git-upgrade or, using [Yarn](https://yarnpkg.com/): ```shell -$ yarn add global react-native-git-upgrade +$ yarn global add react-native-git-upgrade ``` Then, run it inside your project directory: