We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b699079 commit 745a259Copy full SHA for 745a259
lib/cli.js
@@ -288,6 +288,16 @@ Cli.setUpConsoleLoggingHelpers = function setUpConsoleLoggingHelpers() {
288
consoleInfo.call(console, msg.blue.bold);
289
};
290
291
+ var consoleWarn = console.warn;
292
+ console.warn = function() {
293
+ if (arguments.length === 1 && !arguments[0]) return;
294
+ var msg = '';
295
+ for (var n in arguments) {
296
+ msg += arguments[n] + ' ';
297
+ }
298
+ consoleWarn.call(console, msg.yellow.bold);
299
+ };
300
+
301
var consoleError = console.error;
302
console.error = function() {
303
if (arguments.length === 1 && !arguments[0]) return;
0 commit comments