summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/which/which.js
diff options
context:
space:
mode:
authorForrest L Norvell <ogd@aoaioxxysz.net>2015-01-08 14:37:26 -0800
committerBen Noordhuis <info@bnoordhuis.nl>2015-01-08 23:49:03 +0100
commite79ccee1685393e4ec73746bac93835cbcf3a809 (patch)
tree304a1ddd59495b50a20d1b25c62da2a4519228db /deps/npm/node_modules/which/which.js
parent156cd82ef4d2ff4fa291407de562c3a7c2386dc7 (diff)
downloadnode-new-e79ccee1685393e4ec73746bac93835cbcf3a809.tar.gz
npm: upgrade to v2.1.18
PR-URL: https://github.com/iojs/io.js/pull/266 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'deps/npm/node_modules/which/which.js')
-rw-r--r--deps/npm/node_modules/which/which.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/deps/npm/node_modules/which/which.js b/deps/npm/node_modules/which/which.js
index db7e8f74dc..f19dd335bc 100644
--- a/deps/npm/node_modules/which/which.js
+++ b/deps/npm/node_modules/which/which.js
@@ -5,12 +5,7 @@ var path = require("path")
, fs
, COLON = process.platform === "win32" ? ";" : ":"
, isExe
-
-try {
- fs = require("graceful-fs")
-} catch (ex) {
- fs = require("fs")
-}
+ , fs = require("fs")
if (process.platform == "win32") {
// On windows, there is no good way to check that a file is executable