Skip to content

Commit

Permalink
fix(create): Commands added by plugin (through preset) won't have des…
Browse files Browse the repository at this point in the history
…cription in README' (#1910)
  • Loading branch information
pksunkara authored and yyx990803 committed Jul 24, 2018
1 parent a0012c4 commit e9d01eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@vue/cli/lib/util/generateReadme.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const descriptions = {

function printScripts (pkg, packageManager) {
return Object.keys(pkg.scripts).map(key => {
if (!descriptions[key]) return ''
return [
`\n### ${descriptions[key]}`,
'```',
Expand Down

0 comments on commit e9d01eb

Please sign in to comment.