diff options
Diffstat (limited to 'node_modules/isexe/access.js')
-rw-r--r-- | node_modules/isexe/access.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/node_modules/isexe/access.js b/node_modules/isexe/access.js deleted file mode 100644 index e67b28bd6..000000000 --- a/node_modules/isexe/access.js +++ /dev/null @@ -1,15 +0,0 @@ -module.exports = isexe -isexe.sync = sync - -var fs = require('fs') - -function isexe (path, _, cb) { - fs.access(path, fs.X_OK, function (er) { - cb(er, !er) - }) -} - -function sync (path, _) { - fs.accessSync(path, fs.X_OK) - return true -} |