mirror of https://github.com/nuxt/nuxt.git
move up error print becuse it never be called
Signed-off-by: Clark Du <clark.duxin@gmail.com>
This commit is contained in:
parent
eae828ccc6
commit
afc756f694
|
@ -486,9 +486,9 @@ export default class Builder extends Tapable {
|
|||
compiler.run((err, stats) => {
|
||||
/* istanbul ignore if */
|
||||
if (err) {
|
||||
console.error(err) // eslint-disable-line no-console
|
||||
return reject(err)
|
||||
}
|
||||
if (err) return console.error(err) // eslint-disable-line no-console
|
||||
|
||||
// Show build stats for production
|
||||
console.log(stats.toString(this.webpackStats)) // eslint-disable-line no-console
|
||||
|
|
Loading…
Reference in New Issue