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 ccc90c9 commit ecd0b8dCopy full SHA for ecd0b8d
packages/@vue/cli/lib/util/generateReadme.js
@@ -8,7 +8,7 @@ const descriptions = {
8
}
9
10
function printScripts (pkg, packageManager) {
11
- return Object.keys(pkg.scripts).map(key => {
+ return Object.keys(pkg.scripts || {}).map(key => {
12
if (!descriptions[key]) return ''
13
return [
14
`\n### ${descriptions[key]}`,
0 commit comments