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

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

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@pnpm/default-reporter": patch
---
Suggest `pnpm install --force` to refetch modified packages.
+1 -1
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`,
}
}