mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
route -> generate ERR
This commit is contained in:
parent
3053431d79
commit
49ba546730
@ -138,7 +138,7 @@ module.exports = class Generator {
|
|||||||
const color = isHandled ? 'yellow' : 'red'
|
const color = isHandled ? 'yellow' : 'red'
|
||||||
|
|
||||||
let line =
|
let line =
|
||||||
Chalk.black[bgColor](' ROUTE ') + Chalk[color](` ${route}\n\n`)
|
Chalk.black[bgColor](' GENERATE ERR ') + Chalk[color](` ${route}\n\n`)
|
||||||
|
|
||||||
if (isHandled) {
|
if (isHandled) {
|
||||||
line += Chalk.grey(JSON.stringify(error, undefined, 2) + '\n')
|
line += Chalk.grey(JSON.stringify(error, undefined, 2) + '\n')
|
||||||
|
Loading…
Reference in New Issue
Block a user