diff options
author | isaacs <i@izs.me> | 2012-03-02 04:08:09 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-03-02 04:08:09 +0400 |
commit | 73f1418a2eedd05647794919eb7b03c066fdcf2b (patch) | |
tree | 40dcf696075edcd42e9c7df8e9a8d4ba908cfbcc | |
parent | 14490b6f5b9a6464da56bffb2353d184aed39fc5 (diff) |
Update which to 1.0.5
-rw-r--r-- | node_modules/which/package.json | 4 | ||||
-rw-r--r-- | node_modules/which/which.js | 2 |
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") { |