From 49ba5467305fbb2f84c80313935241af05d7d70e Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Tue, 13 Mar 2018 21:00:15 +0330 Subject: [PATCH] route -> generate ERR --- lib/builder/generator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')