diff options
Diffstat (limited to 'node_modules/which/which.js')
-rw-r--r-- | node_modules/which/which.js | 2 |
1 files changed, 1 insertions, 1 deletions
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") { |