Skip to content

Commit

Permalink
Fix yarn command in git upgrade blog post
Browse files Browse the repository at this point in the history
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 facebook#11364

Differential Revision: D4299909

Pulled By: ericnakagawa

fbshipit-source-id: 7b3a7817d2b1105003b9d48d16cf64756bfa51d5
  • Loading branch information
jeremistadler authored and Facebook Github Bot committed Dec 8, 2016
1 parent cfb8b19 commit b775f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/2016-12-05-easier-upgrades.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b775f88

Please sign in to comment.