/
snap
/
node
/
11782
/
lib
/
node_modules
/
npm
/
node_modules
/
walk-up-path
/
dist
/
cjs
/
/snap/node/11782/lib/node_modules/npm/node_modules/walk-up-path/dist/cjs
mkdir
upload
Name
Size
Mode
Actions
index.js
457
0644
edit
dl
rm
package.json
25
0644
edit
dl
rm
Edit:
/snap/node/11782/lib/node_modules/npm/node_modules/walk-up-path/dist/cjs/index.js
(457B)
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.walkUp = void 0; const path_1 = require("path"); const walkUp = function* (path) { for (path = (0, path_1.resolve)(path); path;) { yield path; const pp = (0, path_1.dirname)(path); if (pp === path) { break; } else { path = pp; } } }; exports.walkUp = walkUp; //# sourceMappingURL=index.js.map
Save
cmd:
run