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:
authorLuke Arduini <luke.arduini@gmail.com>2013-11-20 04:36:14 +0400
committerLuke Arduini <luke.arduini@gmail.com>2013-11-20 04:36:33 +0400
commited61a2854b9ae23a4c24df84e75c7f7a941289e3 (patch)
treed6f2654b84376e8986a2f825dde6937c9f84b57c /lib/npm.js
parenta4c36c98d178c9770b49498e1486f4dfeae51553 (diff)
use custom heading if available
Diffstat (limited to 'lib/npm.js')
-rw-r--r--lib/npm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/npm.js b/lib/npm.js
index 0d1e32f0f..a14ec3cce 100644
--- a/lib/npm.js
+++ b/lib/npm.js
@@ -284,7 +284,7 @@ function load (npm, cli, cb) {
var color = conf.get("color")
log.level = conf.get("loglevel")
- log.heading = "npm"
+ log.heading = conf.get("heading") || "npm"
log.stream = conf.get("logstream")
switch (color) {
case "always": log.enableColor(); break