Skip to content

Commit 48b0bee

Browse files
justinsacbibitarcanis
authored andcommitted
Fix suggested command after unlinking a package (#6931)
* Fix suggested command after unlinking a package Fixes #937, #1957 * Update en.js * Update CHANGELOG.md * Update CHANGELOG.md
1 parent 9a8dd6e commit 48b0bee

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ Please add one entry in this file for each change in Yarn's behavior. Use the sa
2424

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

27+
- Fixes the command that `yarn unlink` recommends to run as a followup (now `yarn install --force`)
28+
29+
[#6931](https://github.com/yarnpkg/yarn/pull/6931) - [**Justin Sacbibit**](https://github.com/justinsacbibit)
30+
2731
- Changes the location where the `--require ./.pnp.js` flag gets added into `NODE_OPTIONS`: now at the front
2832

2933
[#6942](https://github.com/yarnpkg/yarn/pull/6942) - [**John-David Dalton**](https://twitter.com/jdalton)

src/reporters/lang/en.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ const messages = {
179179
'You can now run `yarn unlink $0` in the projects where you no longer want to use this package.',
180180
linkUsing: 'Using linked package for $0.',
181181
linkDisusing: 'Removed linked package $0.',
182-
linkDisusingMessage: 'You will need to run `yarn` to re-install the package that was linked.',
182+
linkDisusingMessage: 'You will need to run `yarn install --force` to re-install the package that was linked.',
183183
linkTargetMissing: 'The target of linked package $0 is missing. Removing link.',
184184

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

0 commit comments

Comments
 (0)