fix: update workspace root warning

close #3082
This commit is contained in:
Zoltan Kochan
2021-01-20 02:31:12 +02:00
parent c854f85472
commit b653866c85
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@pnpm/plugin-commands-installation": patch
---
Fix the error message that happens when trying to add a new dependency to the root of a workspace.

View File

@@ -180,7 +180,7 @@ export function handler (
'Running this command will add the dependency to the workspace root, ' +
'which might not be what you want - if you really meant it, ' +
'make it explicit by running this command again with the -w flag (or --workspace-root). ' +
'If you don\'t want to see this warning anymore, you may set the ignore-workspace-root-check setting to false.'
'If you don\'t want to see this warning anymore, you may set the ignore-workspace-root-check setting to true.'
)
}