Skip to content

Commit

Permalink
Fix suggested command after unlinking a package (#6931)
Browse files Browse the repository at this point in the history
* Fix suggested command after unlinking a package

Fixes #937, #1957

* Update en.js

* Update CHANGELOG.md

* Update CHANGELOG.md
  • Loading branch information
justinsacbibit authored and arcanis committed Jan 23, 2019
1 parent 9a8dd6e commit 48b0bee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -24,6 +24,10 @@ Please add one entry in this file for each change in Yarn's behavior. Use the sa

[#6882](https://github.com/yarnpkg/yarn/pull/6882) - [**Zoran Regvart**](https://github.com/zregvart)

- Fixes the command that `yarn unlink` recommends to run as a followup (now `yarn install --force`)

[#6931](https://github.com/yarnpkg/yarn/pull/6931) - [**Justin Sacbibit**](https://github.com/justinsacbibit)

- Changes the location where the `--require ./.pnp.js` flag gets added into `NODE_OPTIONS`: now at the front

[#6942](https://github.com/yarnpkg/yarn/pull/6942) - [**John-David Dalton**](https://twitter.com/jdalton)
Expand Down
2 changes: 1 addition & 1 deletion src/reporters/lang/en.js
Expand Up @@ -179,7 +179,7 @@ const messages = {
'You can now run `yarn unlink $0` in the projects where you no longer want to use this package.',
linkUsing: 'Using linked package for $0.',
linkDisusing: 'Removed linked package $0.',
linkDisusingMessage: 'You will need to run `yarn` to re-install the package that was linked.',
linkDisusingMessage: 'You will need to run `yarn install --force` to re-install the package that was linked.',
linkTargetMissing: 'The target of linked package $0 is missing. Removing link.',

createInvalidBin: 'Invalid bin entry found in package $0.',
Expand Down

0 comments on commit 48b0bee

Please sign in to comment.