diff options
-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") { |