diff options
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@npmcli/git/lib/find.js')
-rw-r--r-- | sandbox/testAppNevena/Front/node_modules/@npmcli/git/lib/find.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@npmcli/git/lib/find.js b/sandbox/testAppNevena/Front/node_modules/@npmcli/git/lib/find.js deleted file mode 100644 index d58f01db..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@npmcli/git/lib/find.js +++ /dev/null @@ -1,15 +0,0 @@ -const is = require('./is.js') -const { dirname } = require('path') - -module.exports = async ({ cwd = process.cwd() } = {}) => { - if (await is({ cwd })) { - return cwd - } - while (cwd !== dirname(cwd)) { - cwd = dirname(cwd) - if (await is({ cwd })) { - return cwd - } - } - return null -} |