mirror of
https://github.com/pnpm/pnpm.git
synced 2026-01-11 00:18:32 -05:00
5
.changeset/heavy-rice-sneeze.md
Normal file
5
.changeset/heavy-rice-sneeze.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@pnpm/plugin-commands-script-runners": patch
|
||||
---
|
||||
|
||||
fix: add "run" to NO_SCRIPT error example
|
||||
@@ -163,7 +163,7 @@ export async function handler (
|
||||
if (rootManifest?.scripts?.[scriptName]) {
|
||||
throw new PnpmError('NO_SCRIPT', `Missing script: ${scriptName}`, {
|
||||
hint: `But ${scriptName} is present in the root of the workspace,
|
||||
so you may run "pnpm -w ${scriptName}"`,
|
||||
so you may run "pnpm -w run ${scriptName}"`,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user