fix: suggest pnpm install --force to refetch packages (#3867)

close #3840
This commit is contained in:
Zoltan Kochan
2021-10-14 02:47:07 +03:00
committed by GitHub
parent 8f0fa4159e
commit cd597bdf9f
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@pnpm/default-reporter": patch
---
Suggest `pnpm install --force` to refetch modified packages.

View File

@@ -243,7 +243,7 @@ function reportModifiedDependency (msg: { modified: string[] }) {
body: `These packages are modified:
${msg.modified.map((pkgPath: string) => colorPath(pkgPath)).join(EOL)}
You can run ${highlight('pnpm install')} to refetch the modified packages`,
You can run ${highlight('pnpm install --force')} to refetch the modified packages`,
}
}