Skip to content

Commit ae35426

Browse files
AlvaroBernalGSBoudrias
authored andcommittedJun 28, 2018
Fix generator description returning undefined (#587)
1 parent 4f4c36e commit ae35426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/routes/install.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function searchMatchingGenerators(app, term, cb) {
6767
}
6868

6969
function fetchGeneratorInfo(generator, cb) {
70-
packageJson(generator.name).then(pkg => {
70+
packageJson(generator.name, {fullMetadata: true}).then(pkg => {
7171
const official = OFFICIAL_GENERATORS.includes(pkg.name);
7272
const mustache = official ? chalk.green(` ${figures.mustache} `) : '';
7373

0 commit comments

Comments
 (0)
Please sign in to comment.