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
path: root/cli.js
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-10-27 05:22:27 +0400
committerisaacs <i@izs.me>2010-10-27 05:22:27 +0400
commit016f24dcfe85ab9a93cf040f3486b88c606113f1 (patch)
tree04e101b065abc2b24c1cc5200eac562164a8ed55 /cli.js
parent16f643ba519f8c2f42f776a927bc9bcfdd1ec8b2 (diff)
Show the node version for debugging power
Diffstat (limited to 'cli.js')
-rwxr-xr-xcli.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli.js b/cli.js
index 90d3deb09..e977f48cd 100755
--- a/cli.js
+++ b/cli.js
@@ -53,6 +53,7 @@ if (printVersion) {
sys.puts(npm.version)
process.exit(0)
} else log("npm@"+npm.version, "using")
+log("node@"+process.version, "using")
// make sure that this version of node works with this version of npm.
var semver = require("./lib/utils/semver")