We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e4592f commit cd91c0fCopy full SHA for cd91c0f
packages/@vue/cli/lib/util/generateReadme.js
@@ -12,7 +12,7 @@ function printScripts (pkg, packageManager) {
12
return [
13
`\n### ${descriptions[key]}`,
14
'```',
15
- `${packageManager} run ${key}`,
+ `${packageManager} ${packageManager !== 'yarn' ? 'run ' : ''}${key}`,
16
17
''
18
].join('\n')
0 commit comments