diff --git a/lib/common/utils.js b/lib/common/utils.js index 9518e489f..130f920c0 100644 --- a/lib/common/utils.js +++ b/lib/common/utils.js @@ -8,7 +8,7 @@ exports.pe = new PrettyError() exports.printWarn = function (msg, from) { /* eslint-disable no-console */ const fromStr = from ? Chalk.yellow(` ${from}\n\n`) : ' ' - console.error('\n' + Chalk.bgYellow.black(' WARN ') + fromStr + msg + '\n') + console.warn('\n' + Chalk.bgYellow.black(' WARN ') + fromStr + msg + '\n') } exports.renderError = function (_error, from) {