Remove extra line

This commit is contained in:
Sébastien Chopin 2017-02-20 18:59:15 +01:00
parent f5a6cf0569
commit 7d630bf5d9

View File

@ -353,7 +353,6 @@ function createWebpackMiddleware () {
new webpack.NoEmitOnErrorsPlugin(),
new PostCompilePlugin(stats => {
process.stdout.write('\x1Bc')
if (stats.hasErrors() || stats.hasWarnings()) {
console.log(stats.toString('errors-only')) // eslint-disable-line no-console
console.log() // eslint-disable-line no-console