mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
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
Block a user