Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/view.js')
-rw-r--r--lib/view.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/view.js b/lib/view.js
index 33a5d0df8..646b6377f 100644
--- a/lib/view.js
+++ b/lib/view.js
@@ -41,7 +41,7 @@ view.completion = function (opts, cb) {
var registry = require("./utils/npm-registry-client/index.js")
, ini = require("ini")
- , log = require("./utils/log.js")
+ , log = require("npmlog")
, util = require("util")
, output
, npm = require("./npm.js")
@@ -94,7 +94,7 @@ function view (args, silent, cb) {
if (args.length === 1 && args[0] === "") {
retval = cleanBlanks(retval)
- log.silly(retval, "cleanup")
+ log.silly("cleanup", retval)
}
if (error || silent) cb(error, retval)