diff --git a/lib/builder/generator.js b/lib/builder/generator.js index e08d1f8cdf..23fdc5246c 100644 --- a/lib/builder/generator.js +++ b/lib/builder/generator.js @@ -138,7 +138,7 @@ module.exports = class Generator { const color = isHandled ? 'yellow' : 'red' let line = - Chalk.black[bgColor](' ROUTE ') + Chalk[color](` ${route}\n\n`) + Chalk.black[bgColor](' GENERATE ERR ') + Chalk[color](` ${route}\n\n`) if (isHandled) { line += Chalk.grey(JSON.stringify(error, undefined, 2) + '\n')