which
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -5,3 +5,3 @@ { | ||
"description": "Like which(1) unix command. Find the first instance of an executable in the PATH.", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
@@ -8,9 +8,4 @@ module.exports = which | ||
, isExe | ||
, fs = require("fs") | ||
try { | ||
fs = require("graceful-fs") | ||
} catch (ex) { | ||
fs = require("fs") | ||
} | ||
if (process.platform == "win32") { | ||
@@ -17,0 +12,0 @@ // On windows, there is no good way to check that a file is executable |
4575
89