diff options
Diffstat (limited to 'lib/utils/output.js')
-rw-r--r-- | lib/utils/output.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils/output.js b/lib/utils/output.js index f99beb914..8b54d1181 100644 --- a/lib/utils/output.js +++ b/lib/utils/output.js @@ -9,7 +9,7 @@ var npm = require("../../npm") , streams = {} , ttys = {} , net = require("net") - , sys = require("./sys") + , util = require("util") function doColor (stream) { var conf = npm.config.get("color") @@ -43,7 +43,7 @@ function write (args, stream, lf, cb) { , colored = doColor(stream) msg = args.map(function (arg) { if (typeof arg !== "string") { - return sys.inspect(arg, false, 5, colored) + "\n" + return util.inspect(arg, false, 5, colored) + "\n" } else { if (!colored) arg = arg.replace(/\033\[[0-9;]*m/g, '') return arg |