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/utils/lifecycle.js')
-rw-r--r--lib/utils/lifecycle.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utils/lifecycle.js b/lib/utils/lifecycle.js
index fbecc0b53..47a917d7e 100644
--- a/lib/utils/lifecycle.js
+++ b/lib/utils/lifecycle.js
@@ -12,6 +12,7 @@ var log = require("./log")
function lifecycle (pkg, stage, cb) {
while (pkg && pkg._data) pkg = pkg._data
if (!pkg) return cb(new Error("Invalid package data"))
+ log.verbose(pkg._id, "lifecycle "+stage)
if (!pkg.scripts || !(stage in pkg.scripts)) return cb()
// run package lifecycle scripts in the package root, or the nearest parent.