diff options
Diffstat (limited to 'lib/xmas.js')
-rw-r--r-- | lib/xmas.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/xmas.js b/lib/xmas.js index 90282d0f7..bf838a87a 100644 --- a/lib/xmas.js +++ b/lib/xmas.js @@ -1,9 +1,8 @@ // happy xmas var npm = require("./npm.js") - , log = require("./utils/log.js") + , log = require("npmlog") module.exports = function (args, cb) { -npm.config.set("loglevel", "win") var s = process.platform === "win32" ? " *" : " \u2605" , f = "\uFF0F" , b = "\uFF3C" @@ -44,7 +43,10 @@ w("\n") } })(20) w("\n\n") -log.win("Happy Xmas, Noders!", "loves you", cb) +log.heading = '' +log.addLevel('npm', 100000, log.headingStyle) +log.npm("loves you", "Happy Xmas, Noders!") +cb() } var dg=false Object.defineProperty(module.exports, "usage", {get:function () { |