mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
err styling
This commit is contained in:
parent
758c554ed7
commit
0cb0beb1c5
@ -14,7 +14,7 @@ exports.printWarn = function (msg, from) {
|
||||
exports.renderError = function (_error, from) {
|
||||
const errStr = exports.pe.render(_error)
|
||||
const fromStr = from ? Chalk.red(` ${from}`) : ''
|
||||
return '\n' + Chalk.bgRed.black(' ERROR ') + fromStr + '\n' + errStr + '\n'
|
||||
return '\n' + Chalk.bgRed.black(' ERROR ') + fromStr + '\n\n' + errStr
|
||||
}
|
||||
|
||||
exports.printError = function () {
|
||||
|
Loading…
Reference in New Issue
Block a user