From c3b1df66fee922cae1af7c3ca898240c2df35884 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Wed, 9 Jul 2014 15:57:17 +0200 Subject: [PATCH] log the notification message to stderr as that's where extra info should be printed --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 43899e9..1e2edd9 100644 --- a/index.js +++ b/index.js @@ -101,10 +101,10 @@ UpdateNotifier.prototype.notify = function (opts) { if (opts.defer) { process.on('exit', function () { - console.log(message); + console.error(message); }); } else { - console.log(message); + console.error(message); } return this;