/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/npm/node_modules/@npmcli/git/lib/is.js
4 строки
216 B
npm CLI robot
deps: upgrade npm to 10.5.2
12 апр 2024, 04:24
Не верифицирован
12 апр 2024, 04:24
abb46cf
Код
Авторство
О чём код?
// not an airtight indicator, but a good gut-check to even bother trying const { stat } = require('fs/promises') module.exports = ({ cwd = process.cwd() } = {}) => stat(cwd + '/.git').then(() => true, () => false)