generator: send back duration & errors

Manual merge 7760e9a49b
This commit is contained in:
Pooya Parsa 2017-06-13 01:10:44 +04:30
parent 747616e927
commit c347a1bf48

View File

@ -135,5 +135,7 @@ export default class Generator extends Tapable {
})
console.error('==== Error report ==== \n' + report.join('\n\n')) // eslint-disable-line no-console
}
return { duration, errors }
}
}