summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/walk-up-path/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/walk-up-path/index.js')
-rw-r--r--deps/npm/node_modules/walk-up-path/index.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/deps/npm/node_modules/walk-up-path/index.js b/deps/npm/node_modules/walk-up-path/index.js
deleted file mode 100644
index 05524a6c05..0000000000
--- a/deps/npm/node_modules/walk-up-path/index.js
+++ /dev/null
@@ -1,11 +0,0 @@
-const {dirname, resolve} = require('path')
-module.exports = function* (path) {
- for (path = resolve(path); path;) {
- yield path
- const pp = dirname(path)
- if (pp === path)
- path = null
- else
- path = pp
- }
-}