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:
authorisaacs <i@izs.me>2012-03-02 04:08:09 +0400
committerisaacs <i@izs.me>2012-03-02 04:08:09 +0400
commit73f1418a2eedd05647794919eb7b03c066fdcf2b (patch)
tree40dcf696075edcd42e9c7df8e9a8d4ba908cfbcc
parent14490b6f5b9a6464da56bffb2353d184aed39fc5 (diff)
Update which to 1.0.5
-rw-r--r--node_modules/which/package.json4
-rw-r--r--node_modules/which/which.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/node_modules/which/package.json b/node_modules/which/package.json
index a48f18249..c45dafee9 100644
--- a/node_modules/which/package.json
+++ b/node_modules/which/package.json
@@ -6,7 +6,7 @@
},
"name": "which",
"description": "Like which(1) unix command. Find the first instance of an executable in the PATH.",
- "version": "1.0.4",
+ "version": "1.0.5",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/node-which.git"
@@ -24,7 +24,7 @@
"name": "isaacs",
"email": "i@izs.me"
},
- "_id": "which@1.0.4",
+ "_id": "which@1.0.5",
"optionalDependencies": {},
"_engineSupported": true,
"_npmVersion": "1.1.2",
diff --git a/node_modules/which/which.js b/node_modules/which/which.js
index fe97308c5..db7e8f74d 100644
--- a/node_modules/which/which.js
+++ b/node_modules/which/which.js
@@ -30,7 +30,7 @@ if (process.platform == "win32") {
function which (cmd, cb) {
- if (isAbsolute(cmd)) return cmd
+ if (isAbsolute(cmd)) return cb(null, cmd)
var pathEnv = (process.env.PATH || "").split(COLON)
, pathExt = [""]
if (process.platform === "win32") {