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 'scripts/uninstall.js')
-rwxr-xr-xscripts/uninstall.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/uninstall.js b/scripts/uninstall.js
index eeb53c9ab..16ac33242 100755
--- a/scripts/uninstall.js
+++ b/scripts/uninstall.js
@@ -1,7 +1,7 @@
#!/usr/local/bin/node
var fs = require("fs"),
- version = process.env["npm.package.version"],
+ version = process.env.npm_package_version,
versionedBin = "/usr/local/bin/npm-"+version;
fs.lstat(versionedBin, function (er, st) {