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 7554764 commit ceeac16Copy full SHA for ceeac16
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