summaryrefslogtreecommitdiff
path: root/node_modules/fs-extra/lib/path-exists/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/fs-extra/lib/path-exists/index.js')
-rw-r--r--node_modules/fs-extra/lib/path-exists/index.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/node_modules/fs-extra/lib/path-exists/index.js b/node_modules/fs-extra/lib/path-exists/index.js
deleted file mode 100644
index ddd9bc7..0000000
--- a/node_modules/fs-extra/lib/path-exists/index.js
+++ /dev/null
@@ -1,12 +0,0 @@
-'use strict'
-const u = require('universalify').fromPromise
-const fs = require('../fs')
-
-function pathExists (path) {
- return fs.access(path).then(() => true).catch(() => false)
-}
-
-module.exports = {
- pathExists: u(pathExists),
- pathExistsSync: fs.existsSync
-}