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
This commit is contained in:
parent
cfb8b19126
commit
b775f88636
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue